I have an sample zip file that uses HTTPService to retrieve and save an xml file via a JSP page.

 

I will send it to you directly.

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mthielman11
Sent: Wednesday, August 30, 2006 8:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Anyone actually able to save data from flex

 

OK we tried this method as well. We have now spent another entire day on this! Does
anyone have a simple example of sending an XML file (or XML model) Via aHTTP service
Post?? We have tried this many ways and honestly this has become very, very frustrating
for everyone involved. If no one has any ideas, how about some place where i might be
able to find an answer. I tried the Adobe forums and no one ever seems ro respond over
there.

Help :)

--- In [EMAIL PROTECTED]ups.com, "Mike Collins" <[EMAIL PROTECTED].> wrote:
>
> HTTPService passes strings not objects so that is most likely the
> issue. Either convert the DataModel to a xml string or do something
> like this to pass in the variables as form variables.
>
> If you want to pass objects you need to use RemoteObject calls.
>
> public function submitURL() {
>
> var variables:Object = new Object();
> // Build request
> variables.parent1firstname =
> parent1firstname.text;
> variables.parent1lastname = parent1lastname.text;
>
> // Submit
> submitData.request = variables;
> submitData.send();
> }
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to