Package org.apache.camel.dataformat.soap
Interface SoapDataFormatAdapter
- All Known Implementing Classes:
Soap11DataFormatAdapter,Soap12DataFormatAdapter
public interface SoapDataFormatAdapter
Adapter for either SOAP 1.1 or 1.2 implementations.
-
Method Summary
Modifier and TypeMethodDescriptiondoMarshal(org.apache.camel.Exchange exchange, Object inputObject, OutputStream stream, String soapAction) Executes the marshaldoUnmarshal(org.apache.camel.Exchange exchange, InputStream stream, Object rootObject) Executes the unmarshalGets theSoapDataFormatSOAP data format.Gets the JAXB package names where the JAXB generated sources is for either SOAP 1.1 or 1.2 implementations.
-
Method Details
-
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
-