public class SOAPMessageHelper extends Object
Constructor and Description |
---|
SOAPMessageHelper() |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.soap.SOAPEnvelope |
buildSOAPEnvelopeFromBytes(byte[] data,
boolean isSoap11)
Builds the SOAPEnvelope from provided bytes and returns the OM representation of SOAPEnvelope
|
public static org.apache.axiom.soap.SOAPEnvelope buildSOAPEnvelopeFromBytes(byte[] data, boolean isSoap11) throws SOAPException, IOException
data
- byte array of the SOAPEnvelopeisSoap11
- whether the SOAPEnvelope format is SOAP11 or notSOAPException
- When SOAPEnvelope cannot be created from bytes due to SOAP exceptionIOException
- When SOAPEnvelope cannot be created from bytes due to IO exceptionCopyright © 2017 WSO2. All rights reserved.