note 82697 added to function.soap-soapclient-construct
| From: | TomDesp at osu1 dot php dot net | Date: | Tue, 22 Apr 2008 13:14:20 +0000 |
| Subject: | note 82697 added to function.soap-soapclient-construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138656@lists.php.net to get a copy of this message | ||
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 ?
----
Server IP: 217.174.223.124
Probable Submitter: 82.229.17.158
----
Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-construct.php
Edit -- https://master.php.net/note/edit/82697
Del: integrated -- https://master.php.net/note/delete/82697/integrated
Del: useless -- https://master.php.net/note/delete/82697/useless
Del: bad code -- https://master.php.net/note/delete/82697/bad+code
Del: spam -- https://master.php.net/note/delete/82697/spam
Del: non-english -- https://master.php.net/note/delete/82697/non-english
Del: in docs -- https://master.php.net/note/delete/82697/in+docs
Del: other reasons-- https://master.php.net/note/delete/82697
Reject -- https://master.php.net/note/reject/82697
Search -- https://master.php.net/manage/user-notes.php