Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Compile FDS application locally doesn't work?

Avatar

Level 2
In any FDS project created with the opition 'Compile
application locally in Flex Builder', the error message:

<Unexpected attribute 'url' found in 'endpoint' from file
services-config.xml>

appears and the project won't compile.



I've googled for this, and found a couple of other similar
posts, but no reply. Does this mean that this option doesn't, in
fact, work?

8 Replies

Avatar

Level 1
I'm having the same problem. I'm running flex builder 2.0 and
have installed LiveCycle Data Services ES. Worse yet, if I select
the option to have the server compile the project builder throws an
error when switching to design view "An unknown item is declared as
the root of your MXML document. Switch to source mode to correct
it."

Avatar

Former Community Member
You need to update to Flex Builder 2.0.1 Hotfix 2 or at the
very least update

your underlying SDK's /lib/flex-messaging-common.jar to that
from LCDS 2.5.





Avatar

Level 1
Peter, does this hotfix work for FlexBuilder 2.0.1 with
Charting?? I was comparing the sizes of my licensed sdk and the
hotfix...and the one from the hotfix is smaller..should just wanted
to be sure that i wasnt loosing anything...or is the safest bet to
just update the flex-messaging-common-jar?

Avatar

Former Community Member
Hello,



I updated to Hot Fix 2 and I'm still getting the error:



Unexpected attribute 'url' found in 'endpoint' from file:
services-config.xml.



Does anyone know another possible fix besides upgrading?
Reinstall LCDS, Eclipse, Hibernate Tools, GEF, WTP, FB2, rebuild my
application from ground zero? Ugh. I really don't want to do that
(again). Sorry for the mini-rant.



Thanks.

Avatar

Former Community Member
Of course as soon as you post/beg for help, your problem goes
away...



I tried another tact and re-applied Hot Fix2 using executable
instead of Zip file. I went into Flex and deleted my App including
contents. Rebuilt the app. Still got same error. Exited Flex again,
reopened. This time it prompted for Serial Number. I entered my
serial number. I no longer see the error.



Laurie

Avatar

Former Community Member
The main thing that Flex Builder is getting from LCDS is a
flex-messaging-common.jar

file that allows it to read the services-config.xml file
(mxmlc is the one

actually using this jar in this context). Apart from that,
it's client code

such as fds.swc and the locale fds_rb.swc.



In Flex 3 it will be much easier to point Flex Builder to new
SDKs and allow

you to manage multiple versions.



Pete







Hello LaurieHall,



> Hello,

>

> I updated to Hot Fix 2 and I'm still getting the error:

>

> Unexpected attribute 'url' found in 'endpoint' from
file:

> services-config.xml.

>

> Does anyone know another possible fix besides upgrading?
Reinstall

> Eclipse, Hibernate Tools, GEF, WTP, FB2, rebuild my
application from

> ground zero? Ugh. I really don't want to do that
(again). Sorry for

> the mini-rant.

>

> Thanks.

>





Avatar

Former Community Member
Peter,



I am definitely looking forward to seeing the improvements in
Flex 3. :-) I've learned a lot so far, but it hasn't been easy!



Thanks,

Laurie

Avatar

Level 1
Hi Peter. I'm experiencing the same problems with Flex
Builder 2. I've installed the latest update, which hasn't helped.
I've just manually copied the flex-messaging-common.jar to the Flex
Builder's SDK.



The funny thing is: The app I' working on gets compiled just
fine if I use the Flex SDK included in LCDS from the command
line.