Today, I have faced a problem with SOAP client constructor. I have used an invalid URL to check the SOAP Client constructor. It should return some exceptions or error response if the URL is invalid. But unfortunately it returned nothing. I did not get any handler or exceptions. Then I have found XDEBUG EXTENSION for PHP which really helps to generate some exceptions or SOAP fault responses.

Here is sample code of XDEBUG functions with SOAP:


Subscribe to RSS - SOAP