use __soapCall instead of __call in the example, as the last is deprecated. (per user note)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@243091 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2007-09-28 19:34:19 +00:00
parent 5232c5a551
commit 6ce699973b

View file

@ -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'));