Hello,
If i understand you correctly you are getting an uncatchable Fatal Error
with such code:
$wsdl = 'BadWsdlAddress';
$client = new Zend_Soap_Client($wsdl);
try
{
$client->test();
}
catch(Exception $fault)
{
echo 'Web service is unavilable, please try again later';
}
If you are using XDebug - try to disable it. It seems to be an issue with
XDebug rather then ZendFramework or PHP itself. The issue is known by XDebug
and i think will be fixed in future releases.
If you disable XDebug you can then catch errors with catch(Exception) or
catch(SoapFault).
Hope that helps,
Good luck.
Dmitry.
--
View this message in context:
http://n4.nabble.com/SOAP-Client-How-to-handle-connection-errors-tp1690873p1692080.html
Sent from the Zend Framework mailing list archive at Nabble.com.