SoapClient::SoapClient
SoapServer::addFunction
SOAP
PHP Manual

# The SoapServer class

## Введение

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.

## Class synopsis

SoapServer
SoapServer {
/* Methods */
public void addFunction ( string `$functions` )
public void addSoapHeader ( string `$object` )
__construct ( mixed `$wsdl` [, array `$options` ] )
public void fault ( string `$code` , string `$string` [, string `$actor` [, string `$details` [, string `$name` ]]] )
public array getFunctions ( void )
public void handle ([ string `$soap_request` ] )
public void setClass ( string `$class_name` [, string `$args` ] )
public void setObject ( string `$object` )
public void setPersistence ( string `$mode` )
SoapServer ( mixed `$wsdl` [, array `$options` ] )
}

## Содержание

- SoapServer::addFunction — Adds one or more functions to handle SOAP requests
- 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

SoapClient::SoapClient
SoapServer::addFunction
SOAP
PHP Manual