Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
New reproduce steps:
1. deploy wsdl/response.xml into a web server(or put those into src folder from the zip, but you need modify the wsdl url from s:WebService, also you need set respones.xml path correctly in the wsdl file).
2. set a break point inside resultHandler(), compile and debug the app
3.
->it returns value for trace(event.result.report.data[0].name);
but rest value returns undefined. Those value for the properies are lost.
Expect Result:
rest trace should return correct value.
I've used the "Connect to WebService" option in FB to generate the required code to consume data from a WSDL.
Everything seems to be working, the problem though is that several properties are not properly deserialized in the returned Objects. I can see in Charles and network monitor that the information is coming from the server response but the properties are never set in the objects I get.
the response looks similar to the xml below, but the properties year, month, day and counts are never deserialized.
...
<data xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:reportData[31]">
<item xsi:type="tns:reportData">
<name xsi:type="xsd:string">Mon. 1 Nov. 2010</name>
<year xsi:type="xsd:int">2010</year>
<month xsi:type="xsd:int">11</month>
<day xsi:type="xsd:int">1</day>
<counts xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:double[1]">
<item xsi:type="xsd:double">1228217</item>
</counts>
</item>
</data>
I'm attaching the WSDL used along with the session recording from network monitor.the request causing the problems is one tns:Report.GetReport