Package org.apache.camel.dataformat.soap
Interface SoapDataFormatAdapter
-
- All Known Implementing Classes:
Soap11DataFormatAdapter,Soap12DataFormatAdapter
public interface SoapDataFormatAdapterAdapter for either SOAP 1.1 or 1.2 implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectdoMarshal(org.apache.camel.Exchange exchange, Object inputObject, OutputStream stream, String soapAction)Executes the marshalObjectdoUnmarshal(org.apache.camel.Exchange exchange, InputStream stream, Object rootObject)Executes the unmarshalSoapDataFormatgetDataFormat()Gets theSoapDataFormatSOAP data format.StringgetSoapPackageName()Gets the JAXB package names where the JAXB generated sources is for either SOAP 1.1 or 1.2 implementations.
-
-
-
Method Detail
-
getDataFormat
SoapDataFormat getDataFormat()
Gets theSoapDataFormatSOAP data format.
-
getSoapPackageName
String getSoapPackageName()
Gets the JAXB package names where the JAXB generated sources is for either SOAP 1.1 or 1.2 implementations.
-
doMarshal
Object doMarshal(org.apache.camel.Exchange exchange, Object inputObject, OutputStream stream, String soapAction) throws IOException
Executes the marshal- Returns:
- soap envelope
- Throws:
IOException
-
doUnmarshal
Object doUnmarshal(org.apache.camel.Exchange exchange, InputStream stream, Object rootObject) throws IOException
Executes the unmarshal- Returns:
- the payload
- Throws:
IOException
-
-