Hi
Have a look at this thread:
http://camel.465427.n5.nabble.com/Routing-from-servlet-to-CXF-JAXRS-via-direct-td5733746.html#a5733749
that option is about using (CXF) JAX-RS server endpoint and getting
Camel Servlet transport linked to it.
Also consider experimenting with CXFRS simple binding; perhaps a restlet
component cam help too
Sergey
On 19/06/13 18:14, SyedBhai wrote:
THi Guys,
My name is Syed.
I have developed one JAX-RS webservice.
In this webservice, the class is com.syed.WelcomeService (Its path is
"/class1"). This class has a POST method.
@Path("/post")
@POST
public String sayHello(String xyz) {...}
I have deployed this webservice successfully in tomcat server. I even
invoked the service using jersey client API.
Now I want to invoke this webservice using camel framework in my client
program.
I am really having hard time how to invoke this service through camel.
Can you please help me?
I don't want the entire program.
I just need the camel configuration to interact with the webservice.
Please.
Thanks,
Syed.
--
View this message in context:
http://camel.465427.n5.nabble.com/RestFul-service-using-camel-tp5726656p5734395.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com