Hi there,
I have been playing around .net and flex for a while. Primarily I want to send value objects (consisting of strings, intergers and arrays of VOs) back and forth. I could not figure out how to do the following things though: 1. Sending arrays to a webservice works fine. However when I receive an array of the .net data type "array" flex creates and Array Collection data type. Sending arrays as "array collections" to a web service causes an error. That's really annoying when you try to keep the VOs consitent on both ends. What's the solution for this? 2. When I receive a complex data type from a .net web service flex creates an Object but when I try to cast this object to the dataType it represents I get a complier error, even though the received object has exactly the same properties as underlying VO. E.g. I get the following error code if I try to cast the result of a webservice call to my custom data Type "TelephoneNumber". Note casting to an "Object" works fine. TypeError: Error #1034: Type Coercion failed: cannot convert mx.utils::[EMAIL PROTECTED] to webserviceClasses.TelephoneNumber. Any help is highly appreciated. Robin