Приглашаем посетить
Клюев (klyuev.lit-info.ru)

SoapServer->handle()

getFunctions()" HREF="/php/007/function.soap-soapserver-getfunctions.html">setClass()" HREF="/php/007/function.soap-soapserver-setclass.html">

SoapServer->handle()

(no version information, might be only in CVS)

SoapServer->handle() --  Handles a SOAP request

Описание

class SoapServer {

void handle ( [string soap_request] )

}

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

Список параметров

soap_request

The SOAP request. If this argument is omitted, the request is supposed to be in the $HTTP_RAW_POST_DATA PHP variable.

Возвращаемые значения

Эта функция не возвращает значения после выполнения.

Примеры

Пример 1. Some examples

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

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

Смотрите также

SoapServer->__construct()