|
|
|
[
Permlink
| « Hide
]
Peter Connolly - [12/13/07 12:14 AM ]
Shows a web service response with arrays under Flex 3 Beta 2, showing 'null' objects incorrectly marshalled into the 'apCourses' ArrayCollection. The other screenshot shows the expected objects in the 7 occurrences.
This screenshot shows the Flex 2 debugger view of the web service response object having correctly marshalled the 'apCourses' objects. No source was changed between the Flex 2 and Flex 3 Beta 2 runs.
This s related to http://bugs.adobe.com/jira/browse/SDK-13966
I suspect this is the same issue as https://bugs.adobe.com/jira/browse/SDK-13966
Peter, could you please confirm that this is no longer a problem? If this bug still exists, could you provide the sample mxml file that calls the webservice, the wsdl, as well as the captured SOAP response? Thanks Re-ran this scenario under Flex 3, Beta 3 and the bug no longer exists.
Thanks Peter,
I am marking this resolved. I think I can reproduce the same bug on Flex 3 Release with my web service. It used to work in Flex 2.0.1 and now it is broken in Flex 3. Same issue where ResultEvent.result returns an ArrayCollection object with correct number of null values. See the output packet below.
<?xml version="1.0" encoding="UTF-8" ?> <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <n1:ChapterContentsResponse xmlns:n1="urn:ActionWebService" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <return n2:arrayType="n1:ContentItemWS[4]" xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="n2:Array"> <item> <data xsi:type="xsd:string"><paragraph background='#FFFFFF' type='normal'> <text> <TEXTFORMAT LEADING='2'><P ALIGN='LEFT'><FONT FACE='Monaco' SIZE='12' COLOR='#000000' KERNING='0' LETTERSPACING='0'>My document (debug)</FONT></P></TEXTFORMAT> </text> </paragraph></data> <data_uid xsi:type="xsd:string">chapter/0/paragraph/1</data_uid> <chapter xsi:type="xsd:int">0</chapter> </item> <item> <data xsi:type="xsd:string"><image-row align='left'/></data> <data_uid xsi:type="xsd:string">chapter/0/image-row/2</data_uid> <chapter xsi:type="xsd:int">0</chapter> </item> <item> <data xsi:type="xsd:string"><paragraph background='#FFFFFF' type='normal'> <text> </text> </paragraph></data> <data_uid xsi:type="xsd:string">chapter/0/paragraph/3</data_uid> <chapter xsi:type="xsd:int">0</chapter> </item> <item> <data xsi:type="xsd:string"><image-row align='left'/></data> <data_uid xsi:type="xsd:string">chapter/0/image-row/4</data_uid> <chapter xsi:type="xsd:int">0</chapter> </item> </return> </n1:ChapterContentsResponse> </env:Body> </env:Envelope> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||