mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Whoops, reverting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188353 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
69ef67351c
commit
e406b9ff26
1 changed files with 1 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry id="function.soap-soapserver-handle">
|
||||
<refnamediv>
|
||||
<refname>SoapServer->handle()</refname>
|
||||
|
@ -56,15 +56,8 @@ function test($x)
|
|||
return $x;
|
||||
}
|
||||
|
||||
// function can return SoapHeader object
|
||||
function echoMeStringResponse($string)
|
||||
{
|
||||
return new SoapHeader('http://soapinterop.org/echoheader/', 'echoMeStringResponse', $string);
|
||||
}
|
||||
|
||||
$server = new SoapServer(null, array('uri' => "http://test-uri/"));
|
||||
$server->addFunction("test");
|
||||
$server->echoMeStringResponse("test");
|
||||
$server->handle();
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue