Skip to Content
0
Nov 01, 2016 at 07:48 PM

Capturing HTTP Response Codes for WebService call

52 Views

Hi Team,

We have a requirement of SOAP to SOAP (Synchronous) scenario in our project. We have to capture status codes (HTTP 200,401,500.. etc) of receiver webservice and based on this HTTP status code, we need to send different types of responses to the sender web service.

Can you please help on how to capture the HTTP response code for web service call (For example in case of success, the response code will be HTTP 200, in case of any data issues. Response code will be HTTP 500..).

Could you please provide your inputs so that it would be helpful for us to proceed on this further. Thank you.