Question

I am querying a 3rd party web service and not all the data seems to be making it to the event handler. When I view the request/response in the Network Monitor I see a collection of data objects each containing two string variables (name, url) and two arrays (counts, breakdown). When the result handler receives the data and I view it in debug mode, the collection of data objects each only contains one string variable (name). What happened to the other string var (url) and both arrays (counts, breakdown)? Any idea what would cause this since it seems to becoming corrupt before it reaches the event handler but after it is received by the network? Is this most likely an IDE issue? Anyone else seen this? Thanks in advance.

Was it helpful?

Solution

sometimes complex types are not de-serialised properly. Are you calling the service directly or using flex generated proxy classes.

If your sure the strings are in the SOAP response message the best bet would be to put a debug point on in the SOAPDecoder class and follow the de-serialisation through.

You can use a tool like BURP to catch the http packets of the SOAP message to and from the service.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top