Quantcast

Servicemix 4.x REST support

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Servicemix 4.x REST support

pchakinala
Hi,
 We are planning to invoke outside REST service from servicemix.Here enclosed my usecase flow

http client --->servicemix-http-consumer-->servicemix-provider ---> External Rest service

We were able to call the REST service successfully using static URL (http://localhost:8089/tpp/party).However i need to call party(partyid) method.
How does servicemix support the dynamic part of the RESTful service ex: http://localhost:8089/tpp/party/122245


Does servicemix-cxf-bc support dynamic part of the restful service.Please suggest the possible approaches to move forward.


Regards,
pchakinala
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Servicemix 4.x REST support

Jean-Baptiste Onofré
Hi,

I would advice you to switch to Camel. It's largely easier to call REST
services with the CXF Camel component.

Regards
JB

On 02/07/2012 01:07 PM, pchakinala wrote:

> Hi,
>   We are planning to invoke outside REST service from servicemix.Here
> enclosed my usecase flow
>
> http client --->servicemix-http-consumer-->servicemix-provider --->  External
> Rest service
>
> We were able to call the REST service successfully using static URL
> (http://localhost:8089/tpp/party).However i need to call party(partyid)
> method.
> How does servicemix support the dynamic part of the RESTful service ex:
> http://localhost:8089/tpp/party/122245
>
>
> Does servicemix-cxf-bc support dynamic part of the restful service.Please
> suggest the possible approaches to move forward.
>
>
> Regards,
> pchakinala
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-x-REST-support-tp5462938p5462938.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Loading...