Skip to Content.
Sympa Menu

xom-interest - RE: [XOM-interest] 1.0d5 is available: no breaking changes; all u sers should upgrade

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: "New, Cecil (GEAE)" <cecil.new AT ae.ge.com>, "'xom-interest AT lists.ibiblio.org'" <xom-interest AT lists.ibiblio.org>
  • Subject: RE: [XOM-interest] 1.0d5 is available: no breaking changes; all u sers should upgrade
  • Date: Sun, 13 Oct 2002 09:29:30 -0400

At 2:27 PM -0400 10/9/02, New, Cecil (GEAE) wrote:
Under the covers of course it is a stream... but:

javax.servlet.http.HttpServletRequest.getParameter(String name)
(actually in superclass)

returns a String value. Unless a multipart encoding is used, ServletRequest
parses and generally does all the grunt work and makes "form" values available
easily like this. Works the same whether from a POST or a GET.

So I am assuming that passing an XML document created programmatically in memory
would be passed as "form parameter" to the receiving servlet.

I wonder which encoding is used or is envisioned for web services?


I suppose this is possible, but that's not how either XML-RPC or SOAP work. Both send an XML document as the body of the HTTP request. They do not x-www-form-urlencode it so it would not be available through .HttpServletRequest.getParameter(String name). XML-RPC and SOAP both send the raw XML.
--

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+




Archive powered by MHonArc 2.6.24.

Top of Page