Re: Cxf-rs endpoint implementation

2011-01-28 Thread ghosh
one more way to implement this using cxf:cxfEndpoint. what is the diff between this two approaches? I tried to find the latest updated docs but no luck Ghosh -- View this message in context: http://camel.465427.n5.nabble.com/Cxf-rs-endpoint-implementation-tp3359882p3361293.html Sent from the

Re: Cxf-rs endpoint implementation

2011-01-28 Thread Willem Jiang
On 1/28/11 4:17 PM, ghosh wrote: I could have noticed that.. ..Thanks for the help. Please help me understand below points 1. why do we need two different bean with same config.. given below... The camel route just work as a Proxy, it redirect the request to the real CXF RS server and send

Re: Cxf-rs endpoint implementation

2011-01-28 Thread ghosh
ill not able grasp the right picture here... meanwhile I tried to get below route True Idea was to use a rest service in my processing route invoking it from requestTask and getting the response in response task. Ghosh -- View this message in context: http

Re: Cxf-rs endpoint implementation

2011-01-27 Thread Willem Jiang
Sorry, I give you a wrong url, it should be http://localhost:9000/route/bookstore/123 On 1/28/11 2:27 PM, ghosh wrote: It says file not found if I change. Exception in thread "main" java.io.FileNotFoundException: http://localhost:9002/route/bookstore/123 at sun.net.www.protocol.http

Re: Cxf-rs endpoint implementation

2011-01-27 Thread ghosh
.java:1010) at MyMain.main(MyMain.java:43) Ghosh -- View this message in context: http://camel.465427.n5.nabble.com/Cxf-rs-endpoint-implementation-tp3359882p3360965.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Cxf-rs endpoint implementation

2011-01-27 Thread Willem Jiang
On 1/27/11 11:21 PM, ghosh wrote: Hi I am newbie here... I was following an example http://camel.apache.org/cxfrs.html http://camel.apache.org/cxfrs.html to get a rest endpoint. The problem here is the sample application does not follow the route even if the rest service is hit.My understandi

Cxf-rs endpoint implementation

2011-01-27 Thread ghosh
n = url.openStream(); Could anybody tell me what am I missing here? Ghosh -- View this message in context: http://camel.465427.n5.nabble.com/Cxf-rs-endpoint-implementation-tp3359882p3359882.html Sent from the Camel - Users mailing list archive at Nabble.com.