Ok, I am confused.

Do you want to send the request as an URL-encoded string or XML string?

-abdul
 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Sjors Pals
Sent: Monday, October 03, 2005 5:22 PM
To: [email protected]
Subject: Re: [flexcoders] Submitting a form

not really, the string is something like this:

'formname=aandelen&xxx_test=12132&xxx_test2=sdasd&xxx_super=asdfasdf&yy_
blah=1&yy_test3=234234';

Greets,

Sjors

Abdul Qabiz wrote:

> If I get it correctly, you want to send request as XML?
>
> Then you can set the contentType property of HTTPService to
>
> contentType="application/xml"
>
>
> -abdul
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf Of Sjors Pals
> Sent: Monday, October 03, 2005 5:05 PM
> To: [email protected]
> Subject: [flexcoders] Submitting a form
>
> A colleague build a formengine in flex based on xml configuration
files.
> The engine is working nice, but i detected a problem when we submit
the
> data to the server.
> The information is Send as one big string, because we want to reuse
the
> existing backend on the server.
>
> Code:
>
>     <mx:HTTPService id="myService"
url="http://10.0.0.50:8080/static/x/";
>       method="GET" fault="alert(event.fault.faultstring);"
>       result="alert('HTTPService responded!')">
>         <mx:request id="myRequest">
>             <result></result>
>         </mx:request>      
>     </mx:HTTPService>
>
> and from the class we try to post it:
>     appView.myService.myRequest.result = resultString;
>     appView.myService.send(resultString);
>
> The resultString is filled with the formdata. When i submit the server
> responses succesful.
> The problem is that when i check the logfiles on my webserver that the
> page was requested, but no information was send, also the page is
> requested by a GET method and not by POST.
>
> The request page is NOT a webservice, and the data send is not xml
>
> Can someone tell me what's wrong? Or is there maybe a better way to
> tackle this problem.
>
> Greets,
>
> Sjors
>
>
>
>
>
>
> --
> 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
>
>
>
>
>
>
>
>
> --
> 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
>
>     *  Visit your group "flexcoders
>       <http://groups.yahoo.com/group/flexcoders>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
>
------------------------------------------------------------------------
>




--
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



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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/
 


Reply via email to