on ‎2021 Aug 05 8:16 AM
Hello Experts,
We have a scenario where we are running REST-adapter to REST-adapter to expose a REST-service to a consumer system. It's pass through service , with Binary request and JSON response. We are facing issue with error handling where we want to respond with the same HTTP status codes received from receiver system to sender application along with response. But it looks like in PI monitoring we can HTTP status codes returned from receiver system but it sends 200 in case of successful scenario and 500 in case of any error to sender application.
How can we pass same HTTP codes received from receiver system to sender application in REST to REST pass through service?
Thanks in advance.
Regards,
Priyanka
Request clarification before answering.
Hello,
You can use http_status_code dynamic configuration header.
This is new feature introduced in support pack 26, sap note: 3273355 - NF: REST Adapter: Transfer response HTTP status code as dynamic configuration
Best Regards,
Agnieszka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.