Package org.apache.wss4j.common.util
Class SOAPUtil
- java.lang.Object
-
- org.apache.wss4j.common.util.SOAPUtil
-
public class SOAPUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
SAMPLE_SOAP_MSG
-
Constructor Summary
Constructors Constructor Description SOAPUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.xml.soap.SOAPPart
toSAAJSOAPPart(String xml)
Convert an SOAP Envelope as a String to a javax.xml.soap.SOAPPart.static Document
toSOAPPart(InputStream in)
Convert an SOAP Envelope as an InputStream to a org.w3c.dom.Document.static Document
toSOAPPart(String xml)
Convert an SOAP Envelope as a String to a org.w3c.dom.Document.
-
-
-
Field Detail
-
SAMPLE_SOAP_MSG
public static final String SAMPLE_SOAP_MSG
- See Also:
- Constant Field Values
-
-
Method Detail
-
toSOAPPart
public static Document toSOAPPart(String xml) throws Exception
Convert an SOAP Envelope as a String to a org.w3c.dom.Document.- Throws:
Exception
-
toSOAPPart
public static Document toSOAPPart(InputStream in) throws Exception
Convert an SOAP Envelope as an InputStream to a org.w3c.dom.Document.- Throws:
Exception
-
-