As Arvind already pointed out, Errors and Exceptions are two different things in PHP. try/catch works only with Exceptions, not with errors.
Here a little bit more explanation what you can do:
Error handling is defined more or less globally for an application. The built-in error handling checks the severity of the error and depending on this, logs the error and halts the execution.
You can override this behavior by setting a custom error handler using set_error_handler() (http://php.net/set_error_handler).
Quite a common way is to define an custom error handler which raises an Exception. Then you're able to handle errors and exceptions with try/catch in your code. An example error handler which does exactly this is written here: http://php.net/manual/en/class.errorexception.php.
Copied from there the most interessting part:
function exception_error_handler($severity, $message, $file, $line) {
if (!(error_reporting() & $severity)) {
// This error code is not included in error_reporting
return;
}
throw new ErrorException($message, 0, $severity, $file, $line);
}
set_error_handler("exception_error_handler");
If you place this code somewhere near to the start of your application, instead of raising errors ErrorExceptions will be thrown. This should work with the SoapClient errors.