Skip to Content
0

Sync-Async scenario - Proxy - REST

May 01, 2017 at 08:01 AM

44

avatar image

Hi, we have a scenario where there is a proxy request whose response is based on the status of the request. That is, if the request async message has been sent successfully and a response code 200 is received, then the response needs to be sent as successful. If the response code is anything other than 200, then the proxy response would be failure. I'm having trouble trying to implement this scenario.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Muni M May 02, 2017 at 02:03 PM
0

did you try this blog ?

https://blogs.sap.com/2015/04/10/pi-rest-adapter-custom-error-handling/

Using error codes you can achieve your requirement.

Share
10 |10000 characters needed characters left characters exceeded