svn: /phpdoc/en/trunk/reference/soap/soapclient/ soapclient.xml
| From: | Adam Harvey | Date: | Mon, 12 Nov 2012 09:35:29 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/soap/soapclient/ soapclient.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10692@lists.php.net to get a copy of this message | ||
aharvey Mon, 12 Nov 2012 09:35:29 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=328320
Log:
Add an errors/exceptions section to SoapClient::SoapClient().
Fixes doc bug #54179 (SoapClient can emit warnings, but this is not
documented).
Bug: https://bugs.php.net/54179 (Open) SoapClient can emit
warnings, but this is not documented
Changed paths:
U phpdoc/en/trunk/reference/soap/soapclient/soapclient.xml
Modified: phpdoc/en/trunk/reference/soap/soapclient/soapclient.xml
===================================================================
--- phpdoc/en/trunk/reference/soap/soapclient/soapclient.xml 2012-11-12 09:25:24 UTC (rev 328319)
+++ phpdoc/en/trunk/reference/soap/soapclient/soapclient.xml 2012-11-12 09:35:29 UTC (rev 328320)
@@ -154,6 +154,19 @@
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ <methodname>SoapClient::SoapClient</methodname> will generate an
+ <constant>E_ERROR</constant> error if the <literal>location</literal>
and
+ <literal>uri</literal> options aren't provided in non-WSDL mode.
+ </para>
+ <para>
+ A <classname>SoapFault</classname> exception will be thrown if the
+ <parameter>wsdl</parameter> URI cannot be loaded.
+ </para>
+ </refsect1>
+
<refsect1 role="changelog">
&reftitle.changelog;
<para>