camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preben.Asmussen" <>
Subject Re: New to Camel and also needing to come up to speed on Java again
Date Fri, 27 Jun 2014 07:27:46 GMT
Hi Rick

When you get the file as xml I usually prefer to transform the xml using
xslt and then call cxf in PAYLOAD dataformat. 
You have to set up a cxf endpoint eg:
  <cxf:cxfEndpoint id="myservice" address="${someconfig-address}"
		serviceName="tns:Service1" endpointName="tns:xxx"
		wsdlURL="wsdl/Service1_1.wsdl" xmlns:tns="">
			<entry key="dataFormat" value="PAYLOAD" />

>From your route you can then call "cxf:bean:myservice" and get all the Soap
stuff done by cxf :-)

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message