cancel
Showing results for 
Search instead for 
Did you mean: 

Sync-Async scenario - Proxy - REST

poornimal_nathan
Explorer
430

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.

Accepted Solutions (1)

Accepted Solutions (1)

Muniyappan
Active Contributor
0 Kudos

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.

Answers (0)