public class SOAPUtil extends Object
| Constructor and Description |
|---|
SOAPUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addData(Source data,
SOAPMessage soapMessage)
Add content to
SOAPMessage |
static SOAPMessage |
create()
Create an empty
SOAPMessage |
static SOAPMessage |
createFault(String message)
Given a string message, create a
SOAPFault |
static SOAPMessage |
createFault12(String message)
Given a string message, create a
SOAPFault that is SOAP 1.2 |
static SOAPMessage |
createSOAP12()
Create a SOAP 1.2 Message
|
static SOAPMessage |
getSOAP12Message(InputStream is)
Given a stream of
SOAPMessage that is SOAP 1.2, construct the SOAPMessage |
static Document |
getSOAPData(SOAPMessage soapMessage)
Given a
SOAPMessage, get the content as a Document |
static SOAPMessage |
getSOAPMessage(InputStream is)
Given a stream of
SOAPMessage, construct the SOAPMessage |
static boolean |
isSOAP12(SOAPMessage soapMessage)
Determine if a SOAPMessage is SOAP 1.2
|
public static SOAPMessage create() throws SOAPException
SOAPMessageSOAPExceptionpublic static SOAPMessage createSOAP12() throws SOAPException
SOAPExceptionpublic static SOAPMessage getSOAPMessage(InputStream is) throws IOException, SOAPException
SOAPMessage, construct the SOAPMessageis - IOExceptionSOAPExceptionpublic static SOAPMessage getSOAP12Message(InputStream is) throws IOException, SOAPException
SOAPMessage that is SOAP 1.2, construct the SOAPMessageis - IOExceptionSOAPExceptionpublic static SOAPMessage createFault(String message) throws SOAPException
SOAPFaultmessage - SOAPExceptionpublic static SOAPMessage createFault12(String message) throws SOAPException
SOAPFault that is SOAP 1.2message - SOAPExceptionpublic static Document getSOAPData(SOAPMessage soapMessage) throws SOAPException
SOAPMessage, get the content as a DocumentsoapMessage - SOAPExceptionpublic static boolean isSOAP12(SOAPMessage soapMessage) throws SOAPException
soapMessage - SOAPExceptionpublic static void addData(Source data, SOAPMessage soapMessage) throws SOAPException
SOAPMessagedata - soapMessage - SOAPExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.