-
1. Re: Accessing external RESTful webservice from Servicemix
adrian.trenaman Mar 23, 2009 11:05 AM (in response to sanjain)Hi Sanjay,
When you say you're using a RESTful service, I'm confused, because you then mention very WSDL-y things like "service", "interface" and "endpoint"! Is this a SOAP/HTTP web service? Is there WSDL available? Or have you just been given a URL template and told to do a GET/POST?
Curious,
Ade.
-
2. Re: Accessing external RESTful webservice from Servicemix
sanjain Mar 23, 2009 10:41 PM (in response to adrian.trenaman)Hi Ade,
I just clarified that I am not using wsdl approach at all. Because if I use wsdl, I should have all the info (servicename, endpoint etc.).
I just have been provided the RESTful webservice URL and have to do POST to get the successful response.
I hope it clarifies now. Please let me know if you any more detail.
Thanks,
Sanjay
-
3. Re: Accessing external RESTful webservice from Servicemix
sanjain Mar 26, 2009 3:40 AM (in response to sanjain)Anybody there to answer my query?
Thanks in advance,
Sanjay
-
4. Re: Accessing external RESTful webservice from Servicemix
ubhole Mar 26, 2009 7:21 AM (in response to sanjain)There is basic support for calling restful services in servicemix-http component which can be used by overriding the default marshaller in your xbean with RestProviderMarshaler. If you need added functionality you will need to extend this marshaller yourself and write your own custom marshaller to have more control as you need.
Ulhas