Search in sources :

Example 1 with SoapJaxbDataFormat

use of org.apache.camel.model.dataformat.SoapJaxbDataFormat in project camel by apache.

the class DataFormatClause method soapjaxb12.

/**
     * Uses the Soap 1.2 JAXB data format
     */
public T soapjaxb12() {
    SoapJaxbDataFormat soap = new SoapJaxbDataFormat();
    soap.setVersion("1.2");
    return dataFormat(soap);
}
Also used : SoapJaxbDataFormat(org.apache.camel.model.dataformat.SoapJaxbDataFormat)

Example 2 with SoapJaxbDataFormat

use of org.apache.camel.model.dataformat.SoapJaxbDataFormat in project camel by apache.

the class DataFormatClause method soapjaxb12.

/**
     * Uses the Soap JAXB data format
     */
public T soapjaxb12(String contextPath, Object elementNameStrategy) {
    SoapJaxbDataFormat soap = new SoapJaxbDataFormat(contextPath, elementNameStrategy);
    soap.setVersion("1.2");
    return dataFormat(soap);
}
Also used : SoapJaxbDataFormat(org.apache.camel.model.dataformat.SoapJaxbDataFormat)

Example 3 with SoapJaxbDataFormat

use of org.apache.camel.model.dataformat.SoapJaxbDataFormat in project camel by apache.

the class DataFormatClause method soapjaxb12.

/**
     * Uses the Soap 1.2 JAXB data format
     */
public T soapjaxb12(String contextPath) {
    SoapJaxbDataFormat soap = new SoapJaxbDataFormat(contextPath);
    soap.setVersion("1.2");
    return dataFormat(soap);
}
Also used : SoapJaxbDataFormat(org.apache.camel.model.dataformat.SoapJaxbDataFormat)

Aggregations

SoapJaxbDataFormat (org.apache.camel.model.dataformat.SoapJaxbDataFormat)3