Hi All, I am facing a issue in which in which my route is not able to accept the soap 1.2 msg.
Cxf endpoint definition : ----------------------- <cxf:cxfEndpoint id="soapEndPoint" address="http://localhost:8080/test" serviceClass="org.apache.camel.wsdl_first.Person" wsdlURL="my_test.wsdl" > <cxf:properties> <entry key="dataFormat" value="PAYLOAD"/> </cxf:properties> </cxf:cxfEndpoint> Route is defined like : ------------------------------- from("{{cxf:bean:soapEndPoint}}") .bean(CustomTransformer.class, "transformRequest") .end(); Service Class: ----------- @WebService(targetNamespace = "http://com.test/webservice/envelope/multi", name = "broker") @XmlSeeAlso("some xyz data") @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) public interface Broker { @WebResult(name = "createResponse", targetNamespace = " http://com//requestAndResponse", partName = "createResponse") @WebMethod(action = "http://schemas.xmlsoap.org/soap/http/createRequest) public com.requestandresponse.createRequest( @WebParam(partName = "createRequest", name = "createTestRequest", targetNamespace = "http://com/requestAndResponse") CreateRequest createRequest ) throws FaultResponse; } ----------- Error response when sending a soap 1.2 message --- <faultcode>soap:VersionMismatch</faultcode> <faultstring>A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint.</faultstring> Could you kindly suggest what can be done to resolve this issue.
