Php/docs/class.soapserver
来自菜鸟教程
(PHP 5, PHP 7)
简介
The SoapServer class provides a server for the » SOAP 1.1 and » SOAP 1.2 protocols. It can be used with or without a WSDL service description.
类摘要
SoapServer {
public addFunction
( mixed $functions
) : void
public addSoapHeader
( SoapHeader $object
) : void
public __construct
( mixed $wsdl
[, array $options
] )
public fault
( string $code
, string $string
[, string $actor
[, string $details
[, string $name
]]] ) : void
public getFunctions ( ) : array
public handle
([ string $soap_request
] ) : void
public setObject
( object $object
) : void
public setPersistence
( int $mode
) : void
public SoapServer
( mixed $wsdl
[, array $options
] )
}
Table of Contents
- SoapServer::addFunction — 添加一个或多个函数来处理SOAP请求
- SoapServer::addSoapHeader — Add a SOAP header to the response
- SoapServer::__construct — SoapServer constructor
- SoapServer::fault — Issue SoapServer fault indicating an error
- SoapServer::getFunctions — Returns list of defined functions
- SoapServer::handle — Handles a SOAP request
- SoapServer::setClass — Sets the class which handles SOAP requests
- SoapServer::setObject — Sets the object which will be used to handle SOAP requests
- SoapServer::setPersistence — Sets SoapServer persistence mode
- SoapServer::SoapServer — SoapServer constructor
/* 方法 */