Hi Mueller

I have added the following lines  
<import resource="classpath:META-INF/cxf/cxf.xml" />
  <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
  <import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" />

before   <bean id="testBean"
class="org.apache.camel.example.cxf.provider.TesterBean"/> line

and modified cxfEndpoint as follows:
<cxf:cxfEndpoint id="soapMessageEndpoint"
                  
serviceClass="org.apache.camel.example.cxf.provider.GreeterProvider"
                   address="https://demo005.service-now.com:{{port}}/";
                   wsdlURL="wsdl/incident.do.wsdl"
                   endpointName="s:ServiceNowSoap"
                   serviceName="s:ServiceNow_incident"
                   xmlns:s="http://www.service-now.com/incident"/>



--
View this message in context: 
http://camel.465427.n5.nabble.com/Get-the-exception-org-apache-camel-RuntimeCamelException-java-lang-RuntimeException-Protocol-mismatcs-tp5735568p5735650.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to