Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Webservice HTTP Error response

$
0
0

Hi,

 

The scenario we are designing includes making a webservice call to an external (non SAP) webservice using SOAMANAGER and service consumer.

 

On triggering a webservice request, the service providing system will send across a HTTP 400 response with the error message in the HTTP payload back to SAP (if it failes validation at their end ).

 

My question is, will my calling ABAP program be able to read this HTTP error payload. From what i know the exception raised will be of class type "cx_ai_system_fault" along with a short text "HTTP Code 400  : Bad Request". But will the program be able to access the actual HTTP payload containing the message sent across by the web service providing system

 

Thanks in Advance,

Alan


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>