note 54675 rejected from function.soap-soapclient-construct by simp
| From: | simp@php.net | Date: | Thu, 24 Aug 2006 07:30:16 +0000 |
| Subject: | note 54675 rejected from function.soap-soapclient-construct by simp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-116250@lists.php.net to get a copy of this message | ||
Note Submitter: marcus at synchromedia dot co dot uk
----
The trace and exceptions options are not well documented. Both are simple booleans, so you set them
like so:
$sc = new SoapClient("http://www.example.com/my.wsdl",
array('trace' => true, 'exceptions' => true));
I've not yet spotted trace doing anything particular, but exceptions is not just of interest
for debugging as the docs suggest - it determines whether soap errors throw exceptions. The
exceptions that it throws are of type SoapFault, which are documented elsewhere in these docs.