Description
| Warning |
This function is
EXPERIMENTAL. That means, that the behaviour of this
function, the function name, in concreto ANYTHING documented here can
change in a future release of this package WITHOUT NOTICE. Be warned, and
use this function at your own risk. |
This is the constructor of the SoapServer Object.
Currently the server doesn't validate requests against urn, it
eventually will.
Note:
This requirement will be removed in future versions
Dont forget that no spaces or HTML are allowed before the >?php
tags. otherwise output will begin before the server return data,
hence confusing SOAP clients.
Parameters:
Example 2. SoapObject() example | <?php
@dl('soap.so');
$server = new SoapServer("urn:HelloWorld");
$server->addFunction("hello_soap");
$server->handle();
function hello_soap($message)
{
return "PHP-SOAP says ($mes
}
?> |
|