|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.dataformat.soap.Soap12DataFormatAdapter
public class Soap12DataFormatAdapter
Marshaling from Objects to SOAP 1.2 and back by using JAXB. The classes to be processed need to have JAXB annotations. For marshaling a ElementNameStrategy is used to determine how the top level elements in SOAP are named as this can not be extracted from JAXB.
Constructor Summary | |
---|---|
Soap12DataFormatAdapter(SoapJaxbDataFormat dataFormat)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Soap12DataFormatAdapter(SoapJaxbDataFormat dataFormat)
Method Detail |
---|
public SoapJaxbDataFormat getDataFormat()
SoapDataFormatAdapter
SoapJaxbDataFormat
SOAP data format.
getDataFormat
in interface SoapDataFormatAdapter
public Object doMarshal(org.apache.camel.Exchange exchange, Object inputObject, OutputStream stream, String soapAction) throws IOException
SoapDataFormatAdapter
doMarshal
in interface SoapDataFormatAdapter
IOException
public Object doUnmarshal(org.apache.camel.Exchange exchange, InputStream stream, Object rootObject) throws IOException
SoapDataFormatAdapter
doUnmarshal
in interface SoapDataFormatAdapter
IOException
public String getSoapPackageName()
SoapDataFormatAdapter
getSoapPackageName
in interface SoapDataFormatAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |