public final class Soap extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Soap.SoapFaultBuilder |
static class |
Soap.SoapMessageBuilder |
| Constructor and Description |
|---|
Soap() |
| Modifier and Type | Method and Description |
|---|---|
static Soap.SoapFaultBuilder |
createFault() |
static Soap.SoapMessageBuilder |
createMessage() |
static Document |
extractSoapMessage(InputStream inputStream)
Returns Docuemnt based on the given
inputStream which must contain a valid SOAP message. |
static Document |
extractSoapMessage(SOAPMessage soapMessage)
Returns Docuemnt based on the given SOAP message.
|
static String |
toSamlHttpPostMessage(Document document)
Returns a string encoded accordingly with the SAML HTTP POST Binding specification based on the
given
inputStream which must contain a valid SOAP message. |
public static Soap.SoapFaultBuilder createFault()
public static Soap.SoapMessageBuilder createMessage()
public static String toSamlHttpPostMessage(Document document)
Returns a string encoded accordingly with the SAML HTTP POST Binding specification based on the
given inputStream which must contain a valid SOAP message.
The resulting string is based on the Body of the SOAP message, which should map to a valid SAML message.
document - the document containing a valid SOAP message with a Body that contains a SAML messagepublic static Document extractSoapMessage(InputStream inputStream)
Returns Docuemnt based on the given inputStream which must contain a valid SOAP message.
The resulting string is based on the Body of the SOAP message, which should map to a valid SAML message.
inputStream - an InputStream consisting of a SOAPMessagepublic static Document extractSoapMessage(SOAPMessage soapMessage)
Returns Docuemnt based on the given SOAP message.
The resulting string is based on the Body of the SOAP message, which should map to a valid SAML message.
soapMessage - a SOAPMessage from which to extract the bodyCopyright © 2021 JBoss by Red Hat. All rights reserved.