In meantime I progressed a bit.

Because my WSDL contains a single service/port, I can leave out the
following in the cxfEndpoint configuration:

serviceName="s:AmlService"
endpointName="s:AmlServicePort" 
xmlns:s="http://aml.mycomp.com";

so it ends up like 

 <cxf:cxfEndpoint id="amlEndpoint" 
 address="http://localhost:8080/aml/AmlService"; 
 wsdlURL="src/main/resources/wsdl/AmlService.wsdl" 
 serviceClass="com.mycomp.aml.Aml"/> 


Now, I can run my test as expected :)

In case my WSDL will have multiple operations, it might fail again.
I will handle this later on, I can progress now on my prototype.

Thanks for the valuable hints guys

BRs,
Kris 


--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-cxf-bean-to-invoke-external-webservice-tp4561146p4589743.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to