Infrastructure Management White Papers
How to Add a DOM Document Object as a SOAP Body Element in a SOAP Message Using Java APIs for XML Messaging (JAXM)
Overview A SOAP message is a structured XML document. It would seem desirable to create a SOAP message's body from existing DOM org.xml.dom.Document objects that represent XML data. For example, a SOAP message like the one shown in this paper needs to be created using the contents of a DOM object. The SOAP message presented in this paper has an element called Library in its SOAP body. The Library element has two child elements of type book. One book element was created using the JAXM classes to construct the SOAP element by scratch, the other is from a DOM object. This paper shows how a SOAP message can be created in this way using JAXM.
| Publisher | Sun Microsystems | File Format | HTML |
|---|---|---|---|
| Date Published | May 2002 | Downloads | 6 |
| Format | White Papers | ||
| Topics | |||



