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: "New, Cecil (GEAE)" <cecil.new AT ae.ge.com>
  • To: "'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: Wed, 9 Oct 2002 14:27:32 -0400

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?

-----Original Message-----
From: Elliotte Rusty Harold [mailto:elharo AT metalab.unc.edu]
Sent: Tuesday, October 08, 2002 6:23 AM
To: New, Cecil (GEAE); 'xom-interest AT lists.ibiblio.org'
Subject: RE: [XOM-interest] 1.0d5 is available: no breaking changes; all
u sers should upgrade


At 5:56 PM -0400 10/7/02, New, Cecil (GEAE) wrote:


>While I don't have any personal experience in a web services kind of
>application, the basic notion of posting XML documents over HTTP
>would naturally
>result in XML contained in a String.
>

How would that work? Which APIs are you using? IN my experience, HTTP
POST (and GET) normally uses streams. That's with sockets,
java.net.URL, or servlets. Which APIs use strings?
--

+-----------------------+------------------------+-------------------+
| 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/ |
+----------------------------------+---------------------------------+
_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest




Archive powered by MHonArc 2.6.24.

Top of Page