My route is like this, <camel:camelContext id="CamelContext" xmlns="http://activemq.apache.org/camel/schema/spring" shouldStartContext="true"> <camel:template id="camelTemplate"/> <camel:route> <camel:from uri="direct:start" /> <camel:process ref="InService" />--> <camel:to uri="cxf://http://localhost:8080/websvc/JaxWsService?serviceClass=com.websvc.jaxws.JaxWs" pattern="InOut"/> <camel:process ref="OutService" /> </camel:route> </camel:camelContext>
If I do the template.sendbody(direct:start, ? ) , say from a servlet, what type the body should be ? Also how to get back the SOAPMessage response from it with the headers ? Thanks willem.jiang wrote: > > Hi, > > What's your usecase ? > > If you just want to use camel to invoke the service, you can try > camel-http component. > If you want to implement a proxy service , you can use camel-jetty. > > BTW, CXF implement the JAXWS spec, so the artifacts of the glassfish > metro can smoothly port to CXF. > > Willem > > Winsks wrote: >> firstly, thanks for the gr8 job u guys are doing!!! >> >> I m new to camel and I m interested in using Camel as a routing/mediation >> engine for a set of webservices developed and hosted in glassfish metro. >> What is the best approach in developing this route engine: camel cxf / >> camel >> http / camel jetty component for the endpoints ? i am not able to find >> any >> examples without using CXF. Any help /advice is greatly appreciated. >> >> thanks > > > -- View this message in context: http://www.nabble.com/newbie%3A-Camel-for-Non-CXF-webservices-tp25402219p25477578.html Sent from the Camel - Users mailing list archive at Nabble.com.
