Hi, I am playing around to invoke an external webservice from Camel 2.6.
With Java DSL this works fine, but I struggle with the Spring DSL using cxf:bean /Failed to create Producer for endpoint: Endpoint[cxf://bean:amlEndpoint]. Reason: org.apache.cxf.service.factory.ServiceConstructionException: Could not find definition for service {http://aml.mycomp.com}AmlService. / This is my config: <cxf:cxfEndpoint id="amlEndpoint" address="http://localhost:8080/aml/AmlService" wsdlURL="src/main/resources/wsdl/AmlService.wsdl" serviceClass="com.mycomp.aml.Aml" serviceName="s:AmlService" endpointName="s:AmlServicePort" xmlns:s="http://aml.mycomp.com"/> <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="direct:begin"/> <to uri="cxf:bean:amlEndpoint" /> <log message=">>>>> ${body}"/> </route> </camelContext> Maybe I'm missing something with this cxf:bean approach ? Thanks for any hints on this Kris -- View this message in context: http://camel.465427.n5.nabble.com/Using-cxf-bean-to-invoke-external-webservice-tp4561146p4561146.html Sent from the Camel - Users mailing list archive at Nabble.com.