You can setup the soap binding just like this.
<cxf:cxfEndpoint id="myEndpoint" address="http://localhost:${CXFTestSupport.port3}/test" serviceClass="org.apache.camel.wsdl_first.Person" serviceName="${CxfEndpointBeans.serviceName}" endpointName="${CxfEndpointBeans.endpointName}" wsdlURL="person.wsdl" loggingFeatureEnabled="true" loggingSizeLimit="200"> <cxf:binding> <soap:soapBinding version="1.2"/> </cxf:binding> </cxf:cxfEndpoint> or just add below lines to SEI (foo.bar.FooBarPort) @BindingType(SOAPBinding.SOAP12HTTP_BINDING) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On March 5, 2014 at 5:05:25 PM, Willem Jiang (willem.ji...@gmail.com) wrote: > Can you setup the wsdlUrl attribute of the cxfEndpoint, in this way camel-cxf > can pick > up right soap binding version for you. > > -- > Willem Jiang > > Red Hat, Inc. > Web: http://www.redhat.com > Blog: http://willemjiang.blogspot.com (English) > http://jnn.iteye.com (Chinese) > Twitter: willemjiang > Weibo: 姜宁willem > > > > On March 5, 2014 at 3:23:38 PM, fs (mholla...@gmail.com) wrote: > > Btw, if change the cxf-endpoint dataFormat to PAYLOAD I get the following > > soap fault. > > It seems that the cxf-endpoint is seen as a SOAP 1.1 endpoint for some > > reason? soap:VersionMismatch > > A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint. -- > > View this message > > in context: > > http://camel.465427.n5.nabble.com/Camel-CXF-SOAP-1-1-vs-SOAP-1-2-tp5748285p5748315.html > > > > Sent from the Camel - Users mailing list archive at Nabble.com. > >