Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Process Manager (Stardust) » Invoking process using REST
Invoking process using REST [message #1235135] Thu, 23 January 2014 16:35 Go to next message
Rahim Kanjiyani is currently offline Rahim KanjiyaniFriend
Messages: 18
Registered: October 2012
Junior Member
Hello,

I can successfully invoke the process using SOAP interface defined at https://dsrv.uleth.ca:444/ipp-portal-1.0.1/services/soap/default/WebService/ProcessServiceHttpBasicAuthSsl?wsdl

My corresponding REST end point is at

https://dsrv.uleth.ca:444/ipp-portal-1.0.1/services/rest/engine/processes/ProcessDefinition1

I am passing stardust-bpm-model=WebService query paramter.

I am having difficulty passing REST parameters as POST. The process has one in parameter and one out parameter named FormalParamter1 and FormalParamter2.

I am not sure how to pass FormalParameter1 using the XML as POST.

Thanks,
Rahim

[Updated on: Thu, 23 January 2014 17:07]

Report message to a moderator

Re: Invoking process using REST [message #1235152 is a reply to message #1235135] Thu, 23 January 2014 17:16 Go to previous message
Rahim Kanjiyani is currently offline Rahim KanjiyaniFriend
Messages: 18
Registered: October 2012
Junior Member
Never mind. The XML should be

<?xml version="1.0" encoding="UTF-8"?>
<Args xmlns="http://eclipse.org/stardust/rest/v2012a/types">
<FormalParameter1 xmlns="http://www.w3.org/2001/XMLSchema">Hello</FormalParameter1>
</Args>
Previous Topic:Using Rest Web Services in Stardust
Next Topic:Active Process and Timer
Goto Forum:
  


Current Time: Fri Dec 19 22:45:45 GMT 2014

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

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