on 08-19-2017 8:34 AM
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
Hi,
Identify the status codes which is failure scenario for you and then follow the blog mentioned by Artem.
Once you use {http_result} the entire response will come as json back to SAP PO in error handling.
Regards,
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shaik,
Did u handle the above requirement.please suggest how it can be done in rest sender and receiver error handling cases.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.