note 82697 rejected from function.soap-soapclient-construct by felipe

From: Date: Wed, 23 Apr 2008 04:19:20 +0000
Subject: note 82697 rejected from function.soap-soapclient-construct by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-138673@lists.php.net to get a copy of this message
Note Submitter: Tom Desp ---- I have the weird impression that exceptions are not thrown at all when I instantiate a client against a non existing URL like that : <?php $client = new SoapClient($nonExistingUrl, array('exceptions' => true)); ?> Instead, I get an unhandable fatal error : => Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://non/existing/url' Isn't that supposed to throw an exception ?

« previous php.notes (#138673) next »