PHP 手冊
上一頁 |  | 下一頁

# SoapServer::handle

(no version information, might be only in CVS)

SoapServer::handle -- Handles a SOAP request

## Description

void SoapServer::handle ( [string soap_request])

Processes a SOAP request, calls necessary functions, and sends a response back. It assumes a request in input parameter soap_request or in the global $HTTP_RAW_POST_DATA PHP variable if the argument is omitted.

示範 1.Some examples

`<?php function test($x) { return $x; } $server = new SoapServer(null, array('uri' => "http://test-uri/")); $server->addFunction("test"); $server->handle(); ?>`

See also SoapServer::SoapServer().

上一頁 | 最開頭 | 下一頁
SoapServer::getFunctions | 上一層 | SoapServer::setClass