cvs: phpdoc /en/reference/soap/functions soap-soapheader-construct.xml
| From: | Nuno Lopes | Date: | Fri, 28 Sep 2007 19:34:19 +0000 |
| Subject: | cvs: phpdoc /en/reference/soap/functions soap-soapheader-construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-78@lists.php.net to get a copy of this message | ||
nlopess Fri Sep 28 19:34:19 2007 UTC
Modified files:
/phpdoc/en/reference/soap/functions soap-soapheader-construct.xml
Log:
use __soapCall instead of __call in the example, as the last is deprecated. (per user note)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/soap-soapheader-construct.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/soap/functions/soap-soapheader-construct.xml
diff -u phpdoc/en/reference/soap/functions/soap-soapheader-construct.xml:1.3
phpdoc/en/reference/soap/functions/soap-soapheader-construct.xml:1.4
--- phpdoc/en/reference/soap/functions/soap-soapheader-construct.xml:1.3 Wed Jun 20 22:25:25 2007
+++ phpdoc/en/reference/soap/functions/soap-soapheader-construct.xml Fri Sep 28 19:34:19 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry xml:id="function.soap-soapheader-construct" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>SoapHeader->__construct()</refname>
@@ -84,7 +84,7 @@
<?php
$client = new SoapClient(null, array('location' => "http://localhost/soap.php",
'uri' => "http://test-uri/"));
-$client->__call("echoVoid", null, null,
+$client->__soapCall("echoVoid", null, null,
new SoapHeader('http://soapinterop.org/echoheader/',
'echoMeStringRequest',
'hello world'));