04-27-2023 8:59 AM
Hi everyone,
We are using a REST provided service and according to SAP documentation on REST ( https://help.sap.com/docs/SAP_NETWEAVER_750/753088fc00704d0a80e7fbd6803c8adb/93f28917057f47e78a2abd4... ) we are using IF_REST_RESOURCE.
The client is created using SM59 destination ( CL_HTTP_CLIENT=>CREATE_BY_DESTINATION ).
I was very surprise to see that method CL_REST_HTTP_CLIENT->IF_REST_RESOURCE~POST calls method SEND_RECEIVE which explicitly raises exception type CX_REST_CLIENT_EXCEPTION without it being declared in method signature or caught ...
Is there a missing update on Documentation regarding usage of REST clients?
It should not matter but the provider of the REST Service is not SAP based.
Any additional information would be much appreciated.
04-27-2023 5:00 PM
It sounds like a bug, in that case check the SAP notes or contact SAP support.