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
 Object doMarshal(org.apache.camel.Exchange exchange, Object inputObject, OutputStream stream, String soapAction)
          Executes the marshal
 Object doUnmarshal(org.apache.camel.Exchange exchange, InputStream stream, Object rootObject)
          Executes the unmarshal
 SoapJaxbDataFormat getDataFormat()
          Gets the SoapJaxbDataFormat 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

SoapJaxbDataFormat getDataFormat()
Gets the SoapJaxbDataFormat 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


Apache Camel