Has anyone been able to successfully parse an array of complex objects
within a complex object returned from a web service?
Basically, I have a collection of items, and I'd like to include some
information about the items in a complex object, which also contains
the collection. ie:
---------------------------------------
PersonObj:
-Name: Bob
-Gender: M
-AddressArray:
-Address[0]:
-Addr1: 25 Main St
-Addr2: Anytown, MA 02555
-Active: true
-Address[1]:
-Addr1: 725 Evergreen Ter
-Addr2: Springfield, ?? 02555
-Active: false
-Address[2]:
-Addr1: 123 Church St
-Addr2: Anytown, MA 02555
-Active: true
----------------------------------------
Using an EJB3 web service via JBoss 4.0.4, the object is generated
correctly, but when it gets to flex, the array is disfigured,
exploding the first object, like so:
----------------------------------------
PersonObj:
-Name: Bob
-Gender: M
-AddressArray:
-Address[0]: 25 Main St
-Address[1]: Anytown, MA 02555
-Address[2]: true
-Address[3]:
-Addr1: 725 Evergreen Ter
-Addr2: Springfield, ?? 02555
-Active: false
-Address[4]:
-Addr1: 123 Church St
-Addr2: Anytown, MA 02555
-Active: true
----------------------------------------
I know it's a weird problem, but has anyone else been successful in
attempting this?
Thanks,
Ilia
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/