[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to POST in XML format

  • From: Jeff Crilly <jlc-xalan@m...>
  • To: hector santos <xml-dev@w...>, xml-dev@l...
  • Date: Sat, 09 Jun 2001 10:24:17 -0700

form post xml
I did the post from a browser form once by putting
the XML data in an input text field.  On the server
side I do getParameter() using the text field name.

The POST is actually an http POST with HTTP headers,
but the xml data was not encoded (Pretty sure about this,
but others on the list seem to think its encoded.)

I suppose you could put the XML in a hidden field also.

We're actually not using this method for our real stuff,
which is server->server data interchange.  For that
we just http POST to a url with content-type text/xml
and none of the FORM post headers.

I suggest you just try it out.. and experiment a bit.
Thats the best way to figure this stuff out.

----- Original Message ----- 
From: hector santos <xml-dev@w...>
To: <xml-dev@l...>
Sent: Saturday, June 09, 2001 5:42 AM
Subject: Re: How to POST in XML format


> First, thanks to all who provided input.
> 
> On Jun 08, 2001 01:46pm, MIKE@S... wrote to ALL:
> 
> >>   a) you could use a proxy or middleware whichs reformats the
> >>      data into XML/SOAP before sending to a seerver, and
> 
>  > Yes.
> 
> I wrote a javascript to generically wrap form elements in a XML
> format.  Now I have to add yet another layer to our server to
> take in a new format. Great! Now I'll have more OVERHEAD <g>
> 
> >>   b) you can also use the FORM type="text/xml" attribute
> >>      using the "browser" built-in XML support.
> 
>  > No. Well, if the browser has such a thing, sure. But HTML does not allow
>  > for the possibility of anything other than the 2 standard media types for
>  > form data submissions. If you find an example of "B", let me know. :)
> 
> I thought I read some where in the internet where you can do B but it
> required encoding schemas.  I have to do the search again for this,
> but I properly misunderstood thinking this was all said and done.
> 
> The main point I realize now and surprise to see is that the client
> world has not standardized on it yet.  Just coming into XML/SOAP now,
> one would think this is all resolved by now. :-)
> 
> Thanks again
> 
> Hector Santos, President
> http://www.santronics.com
> 
> 
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of OASIS
> <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@l...
> 


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.