Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Missing messageId: FlexBuilder vs mxmlc

Avatar

Avatar
Level 1
tshealy
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
tshealy
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
tshealy
Level 1

19-11-2008

Hello,



I am using FlexBuilder 3.0.2 with Cairngorm 2.2.1 to
implement RemoteObjects over AMF.



When I run/debug/profile the project from FlexBuilder, I
receive the following error on response from a save command:



SaveObjectCommand?: Fault: event = [RPC Fault
faultString="Didn't receive an acknowledgement of message"
faultCode="Server.Acknowledge.Failed" faultDetail="Was expecting
message '5AA6C3E6-BC82-AFF3-E275-AB767CDA24C1' but received
'null'."] [AMF] FaultEvent?: faultCode:Server.Acknowledge.Failed
faultString:'Didn't receive an acknowledgement of message'
faultDetail:'Was expecting message
'5AA6C3E6-BC82-AFF3-E275-AB767CDA24C1' but received 'null'.'



When I compile the same project with mxmlc, I do not receive
the fault, and the response is processed correctly by the response
handler.



My mxmlc compile flags are:



mxmlc -context-root=http://localhost:3000/
-headless-server=true -services=src/services-config.xml -output
bin-debug/Test.swf -compiler.library-path+=libs src/Test.mxml



I have debugged the problem from the server side and
confirmed that I receive a different AMF message when the flex
client swf is compiled by mxmlc vs FlexBuilder. Does anyone know
what compile flags FlexBuilder is using that might cause a problem?



Thanks,

-Tom



Replies

Avatar

Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
Level 2

20-11-2008

In your flex builder, go to menu "project > clean..."



Your project need to be recompiled after you update the LCDS
config files. Cleaning the project forces a recompile.

Avatar

Avatar
Level 1
tshealy
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
tshealy
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
tshealy
Level 1

20-11-2008

Thanks, I've tried cleaning and rebuilding all projects, but
it did not fix the problem.