Skip to main content



      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 13:45 Go to next message
Eclipse UserFriend
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 05:20 Go to previous messageGo to next message
Eclipse UserFriend
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 11:39 Go to previous message
Eclipse UserFriend
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: Sun Jun 22 02:29:29 EDT 2025

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

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

Back to the top