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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
doMarshal(org.apache.camel.Exchange exchange, Object inputObject, OutputStream stream, String soapAction)
Executes the marshalObject
doUnmarshal(org.apache.camel.Exchange exchange, InputStream stream, Object rootObject)
Executes the unmarshalSoapDataFormat
getDataFormat()
Gets theSoapDataFormat
SOAP data format.String
getSoapPackageName()
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 theSoapDataFormat
SOAP 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
-
-