Adding XML to a SOAPBody
From: Charles Tryon (chucktryon_at_yahoo.com)
Date: 12/30/04
- Next message: Tony Morris: "Re: GUI error: Could not find the main class. Program will exit."
- Previous message: Xslord: "Re: Help with J2RE 1.4.2 and J2SE 1.5"
- Next in thread: EricF: "Re: Adding XML to a SOAPBody"
- Reply: EricF: "Re: Adding XML to a SOAPBody"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Dec 2004 20:44:54 GMT
I'm trying to write some code using low level java classes to generate
SOAP requests. I have a SOAPmessage I have created, and can get at the
body part, however, I need to add an XML document to the body. The
trick is that the it is in the form of a formatted String object, not a
DOM type class. (I'm reading existing XML from a file). If I try to
add the text of the document to the body, it escapes all the < and >
symbols.
Is there any simple way to add a bunch of existing XML to the body of a
SOAP message?
Thanks!
-- Chuck Tryon
- Next message: Tony Morris: "Re: GUI error: Could not find the main class. Program will exit."
- Previous message: Xslord: "Re: Help with J2RE 1.4.2 and J2SE 1.5"
- Next in thread: EricF: "Re: Adding XML to a SOAPBody"
- Reply: EricF: "Re: Adding XML to a SOAPBody"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|