Hi John,

The input parameter of the
*cxf://http://localhost:8090/soap/Payments?serviceClass=PaymentsWebService*-Endpoint
have to be an instance of Object[] or
org.apache.cxf.message.MessageContentsList.

Your route have to look like this

from(FILE PATH) 
.unmarshal() 
.csv() 
.split().body(List.class)

.convertBodyTo(Object[].class) or
convertBodyTo(org.apache.cxf.message.MessageContentsList.class) 
or
.process(new ProcessListToArrayObject()) oder process(new
ProcessListToMessageContentsList())

.to(cxf:// 
http://localhost:8090/soap/Payments?serviceClass=PaymentsWebService";); 

you need either a Processor or a Converter to achieve the transformation

Regards

Gilles Tagne



--
View this message in context: 
http://camel.465427.n5.nabble.com/Routing-CSV-file-to-Jax-WS-method-with-multiple-parameters-tp5735343p5735391.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to