Skip to Content

Sync-Async scenario - Proxy - REST

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 02, 2017 at 02:03 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded