You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Arthanarisamy Annamalai <sa...@gmail.com> on 2014/10/14 12:39:20 UTC
Re: Calling Soap 1.1 Service from Camel cxf via Java DSL
Hi,
You should also set messageFactory accordingly.
--
View this message in context: http://camel.465427.n5.nabble.com/Calling-Soap-1-1-Service-from-Camel-cxf-via-Java-DSL-tp5757538p5757539.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Calling Soap 1.1 Service from Camel cxf via Java DSL
Posted by Arthanarisamy Annamalai <sa...@gmail.com>.
Your end point URL should be appended with messageFactory
eg:
.doTry()
.to("cxf://" + CxfUrl + "?" + "wsdlURL=" + WsdlUrl+ "&" + "serviceName=" +
ServiceName + "&" + "portName=" + interpolPortName + "&" +
"headerFilterStrategy" + "=#" + "propagateAllHeaderMessages" + "&" +
"dataFormat=" + interpolDataFormat + "&" + "defaultOperationName=Search" +
*"&messageFactory=#" + SOAPConstants.SOAP_1_1_PROTOCOL*)
.doCatch(Fault.class)
.doFinally()
.process(customErrorHandler)
--
View this message in context: http://camel.465427.n5.nabble.com/Calling-Soap-1-1-Service-from-Camel-cxf-via-Java-DSL-tp5757538p5757542.html
Sent from the Camel - Users mailing list archive at Nabble.com.