I already have the servlet working using this in my web.xml <servlet> <servlet-name>CXFServlet</servlet-name> <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet>
<servlet-mapping> <servlet-name>CXFServlet</servlet-name> <url-pattern>/webservices/*</url-pattern> </servlet-mapping> I can access the wsdl once it's up e.g., http://localhost:8081/webservices/contracting?WSDL using this cxf endpoint in camel: cxf:///contracting?dataFormat=PAYLOAD&serviceName=http://mhs.mckesson.com/contracting/contract/ContractServiceV1}CreateContractService&endpointName=http://mhs.mckesson.com/contracting/contract/ContractServiceV1}ptCreateContract&serviceClass=com.mckesson.mhs.integration.ws.contracting.ContractProvider&defaultOperationNamespace=http://mhs.mckesson.com/contracting/contract/ContractServiceV1&wsdlURL=classpath:com/mckesson/mhs/contracting/contract/ContractServiceV1.wsdl In WebSphere, the routes won't initialize unless I have the geronimo servlet jars in the classpath - it gives me this error. This strikes me as odd because it's almost like whatever is trying to resolve the endpoint in camel is not able to find the appropriate field to set the endpointName attribute. I'm trying to remove the geronimo jars because they interfere with the websphere specific servlet/jsp libraries. Caused by: org.apache.camel.spring.GenericBeansException: Error post processing bean: com.mckesson.mhs.integration.route.PIMCreateContractRoute; nested exception is org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: cxf:///contracting?dataFormat=PAYLOAD&serviceName=http://mhs.mckesson.com/contracting/contract/ContractServiceV1}CreateContractService&endpointName=http://mhs.mckesson.com/contracting/contract/ContractServiceV1}ptCreateContract&serviceClass=com.mckesson.mhs.integration.ws.contracting.ContractProvider&defaultOperationNamespace=http://mhs.mckesson.com/contracting/contract/ContractServiceV1&wsdlURL=classpath:com/mckesson/mhs/contracting/contract/ContractServiceV1.wsdl due to: Could not find a suitable setter for property: endpointName as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: javax.xml.namespace.QName with value {http://mhs.mckesson.com/contracting/contract/ContractServiceV1}ptCreateContract ... 47 more Caused by: java.lang.IllegalArgumentException: Could not find a suitable setter for property: endpointName as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: javax.xml.namespace.QName with value {http://mhs.mckesson.com/contracting/contract/ContractServiceV1}ptCreateContract at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:347) at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:367) at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:297) -- View this message in context: http://camel.465427.n5.nabble.com/camel-cxf-in-WebSphere-without-geronimo-jetty-depdendencies-possible-tp5726490p5726508.html Sent from the Camel - Users mailing list archive at Nabble.com.