Re: [flexcoders] Re: Web Services and Arrays
On Fri, Dec 07, 2007 at 01:20:55PM -, triggersoftware wrote: It looks to me like the Flash deserialising code can't deal when an array is sent back with other objects at the same level: someObject grades grades grades someOtherObject /someObject It doesn't work properly out that it's an array unless all sibling nodes are of the same type: someObject gradeWrapper grades grades grades /gradeWrapper someOtherObject /someObject We found the same thing, luckily we are only consuming our own services and we were able to wrap all the arrays in wrapper elements as you describe. -Jeff
[flexcoders] Re: Web Services and Arrays
It looks to me like the Flash deserialising code can't deal when an array is sent back with other objects at the same level: someObject grades grades grades someOtherObject /someObject It doesn't work properly out that it's an array unless all sibling nodes are of the same type: someObject gradeWrapper grades grades grades /gradeWrapper someOtherObject /someObject
RE: [flexcoders] Re: Web Services and Arrays
Can you log a bug here? http://bugs.adobe.com/flex/ Also, can you try out a nighty build of the Flex 3 Pre-release to see if this has been fixed already? http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of triggersoftware Sent: Friday, December 07, 2007 10:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Web Services and Arrays That's rubbish! Who at Adobe do I have to bribe? I've never submitted a Bug report to Adobe before. Where should it be done? Here ? http://www.adobe.com/bin/fp9betafeedback.cgi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Re: Web Services and Arrays
That's rubbish! Who at Adobe do I have to bribe? I've never submitted a Bug report to Adobe before. Where should it be done? Here ? http://www.adobe.com/bin/fp9betafeedback.cgi
[flexcoders] Re: Web Services and Arrays
For anyone else having this problem, you can also get round it by setting the resultFormat to e4x as it properly preserves lists. var service:WebService = new WebService(); service.loadWSDL(http://d6zltz1j:8080/Misura360/RespondentService?wsdl\ ); service.addEventListener(ResultEvent.RESULT, onResult); service.addEventListener(FaultEvent.FAULT, onFault); service.fetchQuestionnaire.resultFormat = e4x service.fetchQuestionnaire(new FetchQuestionnaire(5))