Re: [flexcoders] Flex decoding soap complex objects in complex objects

2008-04-24 Thread jeff
On Wed, Apr 23, 2008 at 06:08:32PM -, christophertholen wrote:

> An example would be a returnobject, containing the status of a call, a
> description string and the result array of complex objects.

We use nested complex objects frequently and they seem to decode fine.  Some of 
our calls return structures that are nested nearly a dozen layers 
deep, with arrays appearing on multiple levels.

How are you calling the services, are you using the code generator?  Can you 
provide more information on the nature of the deserialization failure?

-Jeff


[flexcoders] Flex decoding soap complex objects in complex objects

2008-04-23 Thread christophertholen
Hi,

I am having trouble with the Flex decoding of complex soap objects.
The mxml is validated and looks fine, but the object structure is
quite complex and Flex seem to have a lot of trouble decoding the
objects I send from the server.

An example would be a returnobject, containing the status of a call, a
description string and the result array of complex objects.

The Flex SOAPdecoder does not seem to be able to decode the array of
complex objects.


Do you know if there is any solution to this?
If there is not a solution, is it because having nested complex
objects is not recommended for web services?
Would a flat object layer be a better and faster solution even though
it pollutes the server structure a lot?



Thanks,
Chris