Re: [flexcoders] Re: Web Services and ObjectProxy question for the Flex Gurus

2010-07-23 Thread Sajid Hussain
Good , From: flexcodemonkey michael_reg...@dell.com To: flexcoders@yahoogroups.com Sent: Thu, July 22, 2010 7:38:19 AM Subject: [flexcoders] Re: Web Services and ObjectProxy question for the Flex Gurus Thanks! I will look into all of this. Greatly

[flexcoders] Re: Web Services and ObjectProxy question for the Flex Gurus

2010-07-22 Thread Mike
Michael, The Flex SDK can do what you want, but the default behavior is for it to unwrap collections and enclosing types which only contain one item. This default was not a good idea, IMO. Have you tried setting Operation.forcePartArrays true?

[flexcoders] Re: Web Services and ObjectProxy question for the Flex Gurus

2010-07-22 Thread flexcodemonkey
Thanks! I will look into all of this. Greatly appreciated for the pointers! - Michael --- In flexcoders@yahoogroups.com, Mike msl...@... wrote: Michael, The Flex SDK can do what you want, but the default behavior is for it to unwrap collections and enclosing types which only

[flexcoders] Re: Web Services and ObjectProxy question for the Flex Gurus

2010-07-22 Thread flexcodemonkey
Thanks for the replies. I'm not wanting an array. Yes, I could just stick the returned single ObjectProxy in an array, but now I have an undefined object inside of an array. This works if I'm taking the returned data and binding it to some control, but I'm actually needing tp parse the

[flexcoders] Re: Web Services and ObjectProxy question for the Flex Gurus

2010-07-22 Thread flexcodemonkey
Thank you Mike!!! This was EXACTLY what I was looking for. Once I have Flex generate all of my VOs, I've added the following code to the sub-class's constructor which does the trick for all of my web services without me modifying the generated code. public function MyClass() { super();