note 54675 added to function.soap-soapclient-construct

From: Date: Tue, 12 Jul 2005 14:30:30 +0000
Subject: note 54675 added to function.soap-soapclient-construct
Groups: php.notes 
Request: Send a blank email to php-notes+get-91811@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-construct.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54675 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54675&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54675&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54675&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54675&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54675&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54675&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54675&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#91811) next »