mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
5232c5a551
commit
6ce699973b
1 changed files with 2 additions and 2 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue