RE: [flexcoders] Submitting a form

2005-10-03 Thread Abdul Qabiz
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sjors Pals
Sent: Monday, October 03, 2005 5:05 PM
To: flexcoders@yahoogroups.com
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



 




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/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/
 




Re: [flexcoders] Submitting a form

2005-10-03 Thread Sjors Pals
not really, the string is something like this:

'formname=aandelenxxx_test=12132xxx_test2=sdasdxxx_super=asdfasdfyy_blah=1yy_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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Sjors Pals
 Sent: Monday, October 03, 2005 5:05 PM
 To: flexcoders@yahoogroups.com
 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/.


 




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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/
 




RE: [flexcoders] Submitting a form

2005-10-03 Thread Abdul Qabiz
Ok, I am confused.

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

-abdul
 

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

not really, the string is something like this:

'formname=aandelenxxx_test=12132xxx_test2=sdasdxxx_super=asdfasdfyy_
blah=1yy_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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Sjors Pals
 Sent: Monday, October 03, 2005 5:05 PM
 To: flexcoders@yahoogroups.com
 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/
 




Re: [flexcoders] Submitting a form

2005-10-03 Thread Sjors Pals
Well i just want to post the string to an other application (perl)
Little bit the same way as you post a normal html form to a page.

I want to know or this is possible in flex?

Greets,

Sjors



Abdul Qabiz wrote:

 Ok, I am confused.

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

 -abdul


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

 not really, the string is something like this:

 'formname=aandelenxxx_test=12132xxx_test2=sdasdxxx_super=asdfasdfyy_
 blah=1yy_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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
  Behalf Of Sjors Pals
  Sent: Monday, October 03, 2005 5:05 PM
  To: flexcoders@yahoogroups.com
  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








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


 




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/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/