Hi Matt and thanks for your reply. I decided to stop using VO's to send/receive data to/from my services since it was too "hard to code", replicating classes, etc... We are currently sending AS objects from Flex and receiving them as flashgateway.io.ASObject in the service side. These services are also returning this type of objects that Flex understands nativelly.
Greetings, Alberto Albericio Salvador Aura S.A. Seguros Departamento Informática Matt Chotin escribió: > All of that sounded like a good plan. What was the problem? > > Matt > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of > Alberto Albericio Salvador > Sent: Friday, February 03, 2006 2:33 AM > To: [email protected] > Subject: [flexcoders] Sending complex data to java services > > Hi all, > > [Flex 1.5] > Im building a form driven application using multiple mxml files. Each > mxml has control and validation over the data retrieved from its UI > components. Now, when the global form is valid (each mxml is valid on > its own) I want to submit everything as a single parameter to a java > service. So my question is: what is the best choice to send this data? > > The java service needs to collect this data, build a valid XML and store > it into a database. > > My first approach was to send the data as a ValueObject: I wrote some > classes for each mxml model (to get validators working) and then send a > ValueObject with X elements representing each model. > > Thank you in advance > > > > -- 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/

