I\'m getting desperate, all I want is simple error handling when the PHP SOAP Web Service is down to echo an error message login service down. Please help me!
SoapFault doesn't extends Exception, catch the especific type works:
try { $client = new SoapClient("http://192.168.0.142:8080/services/Logon?wsdl",array( 'exceptions' => true, )); } catch ( SoapFault $e ) { echo 'sorry... our service is down'; }