|
|
Re: Using Rest Web Services in Stardust [message #1228911 is a reply to message #1228892] |
Wed, 08 January 2014 10:31 |
|
Dear Vikash,
Thanks for your time and reply!
I am sorry if my question was not very clear.
I wanted to ask the Stardust team, the different ways in which someone can use any external RESTful Web service in any Business Process. (Currently we can use any SOAP service trough its WSDL in Stardust).
I feel your above reply is more on about 'how to use the Stardust Business processes exposed as a Rest Service on any browser or tool like SOAPUI'. Please correct me if otherwise. This explanation will be of great use to me in near future as we were thinking to use and test BP's over browsers too.
But, I would like to take your help to guide me through the ways in which anyone could use an external restful web service let's say Google Maps API in a business process.
Also, I did see in the upcoming Eclipsecon 2014 [1] there was a talk to be held by Marc Gille on Stardust describing ways to connect to Web/REST Services. Thus, I was assuming may be there would be some new releases soon for integrating External Restful services in Stardust Business Processes.
[1] https://www.eclipsecon.org/na2014/session/complex-bpm-solution-developed-and-deployed-30-minutes
Please let me know your thoughts on my question.
Thanks!
Kunal
|
|
|
|
Re: Using Rest Web Services in Stardust [message #1229046 is a reply to message #1228931] |
Wed, 08 January 2014 15:46 |
|
Hi Vikash,
Thanks for your reply!
I saw the wiki page [1] and I did understand the concept that you are explaining there.
Also, in your last response
Quote:
<setHeader headerName="CamelHttpMethod"><constant>GET</constant></setHeader>
<setHeader headerName="CamelHttpUri">
<simple>http://localhost:8080/MyFisrtRESTService/pretech/cardNo?cardNo=${header.cardNo}</simple>
</setHeader>
<to uri="http://isoverwritten" />
<convertBodyTo type="java.lang.String"/>
You are saying that I can use any external RESTFul service exposed by me, or any third party like google in stardust processes using the camel route in my BP
Thus, the way I am understanding this is that there is no direct way to use a REST URL or a WADL directly in any predefined web service container present under Applications or Int. Applications area (in left panel) and then connecting this container to an activity in a process. In the end we have to use a REST service through a Camel Route? (Please correct me if I am not getting this part right)
Like for e.g, in case of any SOAP based service, we can directly include the WSDL of that Web service into the 'Web Service Application' that we can get from the 'Applications' in the left pallet, provide the input and output data and start using the web service in the Business Process.
Thus, I would request you to please provide any pointers or links to documentation showing how one can use a camel route with a REST service to get some results in any Business Process ?
[1]https://wiki.eclipse.org/Stardust/Knowledge_Base/Web_Service_API/Starting_Processes_Interface_And_Fetching_Results_over_REST
Thanks !
Kunal
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04618 seconds