Skip to Content
avatar image
Former Member

REST Adapter :Custom Error Handling and still preserve API Responses

Dear Experts,

I have gone through the blog

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

We have a requirement where we will get some response from Webservice API for some HTTP Status codes and for some we do not get any response format.

If we follow the above custom error handling blog and customize the response in error handling section of REST Adapter we are loosing the actual response from the API.

Is there any setting available in REST Adapter on how do we still preserve the Response Payload from API and also use Custom Error Handling.

Can combination of this can be acheived in SAP PO.we are using SAP PO 7.5 sp 6.

Could experts help here please !!

Many thanks

Thanks

Shaik

Add comment
10|10000 characters needed characters exceeded

  • Former Member

    Hello experts ,

    Any views please how can we approach this kind of scenario.

    Thanks in advance

    Regards

    Shaik

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 13, 2017 at 11:41 AM

    Hi Shaik,

    Did u handle the above requirement.please suggest how it can be done in rest sender and receiver error handling cases.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded