Question
Commonwealth Bank Group
IN
Last activity: 4 Oct 2018 13:54 EDT
How to refer REST service hosted in Pega (Expecting a request from an external system) from an activity (connect activity that is specified from an Assignment Service shape) ? What is the method used and what are the inputs required ?
How to refer REST service hosted in Pega (Expecting a request from an external system) from an activity (connect activity that is specified from an Assignment Service shape) ? What is the method used and what are the inputs required ?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Hi Rashmi Raj,
Would you like to simulate the REST service call?
-Shan
Commonwealth Bank Group
IN
Yes that's right Shan.
I am expecting an external system to contact Pega with some information and we from Pega respond with a newly created case for the same.
Thanks,
Rashmi
Accepted Solution
Commonwealth Bank Group
IN
Hi Shan,
Thanks for your inputs. Currently I am able to do the above simulation mentioned by you. The simulation works fine. Do I have to call the REST service from a flow (Assignment Service shape) for an external system to contact me ? Or just setting up the service is enough for it to work ?
Regards,
Rashmi
Rashmi,
I think this should be good. However, depending on your use case how you invoke the REST service might differ. In one of our use cases, we invoke the REST service directly as below :
YOURAPPLICATIONURL/PRRestService/CUSTOMER PACKAGENAME/CUSTOMER CLASSNAME/CUSTOMER METHOD NAME
Please let me know, if you need further help with this.
-Shan
Tata Consultancy Services Ltd
IN
Hi We Create RestService,,and it is working fine when we test in pega cloude...but i want how to test my service with restclient..for ur information see bellow url
https://paex17-ap.pegacloud.com/prweb/PRServlet/WBGTakeLoanData/Person/GetPerSonInfo_two/TakeLoan we test this one but i am getting bellow error
Hi We Create RestService,,and it is working fine when we test in pega cloude...but i want how to test my service with restclient..for ur information see bellow url
https://paex17-ap.pegacloud.com/prweb/PRServlet/WBGTakeLoanData/Person/GetPerSonInfo_two/TakeLoan we test this one but i am getting bellow error
- Status Code: 304 Not Modified
- Connection: Keep-Alive
- Date: Fri, 16 Sep 2016 07:19:36 GMT
- Keep-Alive: timeout=5, max=100
- Server: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_jk/1.2.37 can any one exolaine how to do it and how to call assiganment flow give an small example
FreeLancing
AU
Hi Shiva,
I have the similar scenario , did you find any solution for this , please let me know .
Thanks
Chandan
Pegasystems Inc.
IN
Hi,
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s available on the top right pane of this page. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.