Adding XML to a SOAPBody

From: Charles Tryon (chucktryon_at_yahoo.com)
Date: 12/30/04


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


Relevant Pages

  • Re: Adding XML to a SOAPBody
    ... >I'm trying to write some code using low level java classes to generate ... >SOAP requests. ... I have a SOAPmessage I have created, ... >body part, however, I need to add an XML document to the body. ...
    (comp.lang.java.help)
  • RE: XML documentation file name
    ... MSDN document on VB.NET Project Designer says "The Generate XML document ... XML documentation is automatically emitted into an XML ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vb)
  • Re: XMLTextReader reading too many characters
    ... It was a very simple process to delete the extra tag. ... You do know about XML ... status isn't indicative of being capable of editing an XML document. ... If you claim there is a problem with XmlTextReader and an allegedly ...
    (microsoft.public.dotnet.xml)
  • Re: Storing hierarchies from XML into relational tables
    ... You haven't made clear what sort of relational tables you plan to use to store the data from your hierarchy. ... Parent VARCHAR ... Given an xml document that represents a heirarchy: ...
    (microsoft.public.sqlserver.xml)
  • XPathNavigator SetValue wipes out XmlType
    ... I have an xml document that I want to go through and set the values on ... I can iterate the document and get my XmlType and XmlBaseType values just ... Xml and Program.cs to recreate the problem. ...
    (microsoft.public.dotnet.languages.csharp)