326327328329330331332
/** * Uses the Soap JAXB data format */ public T soapjaxb(String contextPath) { return dataFormat(new SoapJaxbDataFormat(contextPath)); }
333334335336337338339
/** * Uses the Soap JAXB data format */ public T soapjaxb(String contextPath, String elementNameStrategyRef) { return dataFormat(new SoapJaxbDataFormat(contextPath, elementNameStrategyRef)); }
340341342343344345346
/** * Uses the Soap JAXB data format */ public T soapjaxb(String contextPath, Object elementNameStrategy) { return dataFormat(new SoapJaxbDataFormat(contextPath, elementNameStrategy)); }
28293031323334
public class CamelSoapTest extends AbstractFeatureTest { public static final String COMPONENT = extractName(CamelSoapTest.class); protected DataFormatDefinition createDataformatDefinition(String format) { return new SoapJaxbDataFormat(); }
456457458459460461462463464
/** * 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); }
465466467468469470471472473
/** * Uses the Soap 1.2 JAXB data format */ public T soapjaxb12(String contextPath, String elementNameStrategyRef) { SoapJaxbDataFormat soap = new SoapJaxbDataFormat(contextPath, elementNameStrategyRef); soap.setVersion("1.2"); return dataFormat(soap); }
474475476477478479480481482
/** * 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); }
419420421422423424425
/** * Uses the Soap 1.1 JAXB data format */ public T soapjaxb() { return dataFormat(new SoapJaxbDataFormat()); }
426427428429430431432
/** * Uses the Soap 1.1 JAXB data format */ public T soapjaxb(String contextPath) { return dataFormat(new SoapJaxbDataFormat(contextPath)); }
433434435436437438439
/** * Uses the Soap 1.1 JAXB data format */ public T soapjaxb(String contextPath, String elementNameStrategyRef) { return dataFormat(new SoapJaxbDataFormat(contextPath, elementNameStrategyRef)); }