Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » Calling RESTful Service Through Camel Route - a JSON POST example
Calling RESTful Service Through Camel Route - a JSON POST example [message #1711173] Tue, 13 October 2015 17:45 Go to next message
Gudrun Koko is currently offline Gudrun KokoFriend
Messages: 20
Registered: January 2013
Junior Member
Hi

Is there by any chance an example of a Stardust JSON POST Restful Service call ?

Examples provided in knowledge base (see below URL) are helpful but could be further improved by adding a POST example. Having issue of GET working both
in SOAPUI and through Stardust application but not for POST - only through SOAPUI.

Calling_RESTful_Service_Through_Camel_Route


Much appreciated
Gudrun
Re: Calling RESTful Service Through Camel Route - a JSON POST example [message #1711242 is a reply to message #1711173] Wed, 14 October 2015 09:20 Go to previous messageGo to next message
Rajkumar Dangi is currently offline Rajkumar DangiFriend
Messages: 51
Registered: November 2014
Location: Pune, India
Member
Hi,

PFA model having RestFul service calls(GET/POST) using Stardust camel application. In the attached model i am consuming rest services which accepts content-type as "application/xml". For JSON it should be "application/json"
As diplayed in below process flow:
1. PostRestCall activity starts Stardust process using POST Restful call.
2. GetRestCall activity makes the GET Restful call to get the stardust process response.
You can use this example as a reference to consume your REST calls

index.php/fa/23528/0/

-Thanks
RajKumar
Re: Calling RESTful Service Through Camel Route - a JSON POST example [message #1711291 is a reply to message #1711242] Wed, 14 October 2015 15:39 Go to previous message
Gudrun Koko is currently offline Gudrun KokoFriend
Messages: 20
Registered: January 2013
Junior Member
Great. Code of working example always helps. Thanks.

Given your code something is just amiss in my Camel Producer Route which needs some further manual editing in the eclipse IDE.
Previous Topic:camel trigger as start event
Next Topic:Multi Tenancy while using eclipse stardust
Goto Forum:
  


Current Time: Thu Sep 20 02:41:49 GMT 2018

Powered by FUDForum. Page generated in 0.02598 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top