Handling 500 response soapfault

174 Views Asked by At

I have an integration with an external provider, based on SOAP. In specific cases, if they do not have the product we request, they return HTTP response code 500 - and in the body envelope write details on the problem.

My C#/ASP.NET application has to read the response. But a try/catch cannot pick it up as an exception. As far as I read other places, I need to be able to pick up a SoapException, but I cannot find out how to make that happen.

Thank you in advance for any input!

0

There are 0 best solutions below