Warning: file_put_contents(): Only -1 of 61 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
SoapServer->getFunctions() SoapServer->setClass() SOAP PHP Manual SoapServer->handle() (PHP 5 >= 5.0.1) SoapServer->handle() — Handles a request Description SoapServer void handle ([ string...
Forum und email

SoapServer->handle()

(PHP 5 >= 5.0.1)

SoapServer->handle() — Handles a SOAP request

Description

SoapServer
void 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 supposed to be in the $HTTP_RAW_POST_DATA PHP variable.

Return Values

No value is returned.

Voorbeelden

Example#1 Some examples

<?php
function test($x)
{
    return 
$x;
}

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