PHP SOAP error catching
问题 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! At the moment it's still displaying the error (along with warnings...): Fatal error: SOAP-ERROR: Parsing WSDL Here is the script: <?php session_start(); $login="0000000000000nhfidsj"; //It is like this for testing, It will be changed to a GET $username = substr($login,0,13); //as password is always 13 char long //(the validation is done