SoapServer::handle

(PHP 5 >= 5.0.1, PHP 7)
Handles a SOAP request
public void SoapServer::handle ([ string $soap_request ] )

Processes a SOAP request, calls necessary functions, and sends a response back.

Parameters:
soap_request

The SOAP request. If this argument is omitted, the request is assumed to be in the raw POST data of the HTTP request.

Returns:

No value is returned.

Examples:
SoapServer::handle() example
<?php
function test($x)
{
    return $x;
}

$server = new SoapServer(null, array('uri' => "http://test-uri/"));
$server->addFunction("test");
$server->handle();
?>

See also:

SoapServer::SoapServer() -

doc_php
2016-02-24 16:14:16
Comments
Leave a Comment

Please login to continue.