SoapFault::__construct

(PHP 5 >= 5.0.1, PHP 7) SoapFault constructor SoapFault::__construct ( string $faultcode, string $faultstring [, string $faultactor [, string $detail [, string $faultname [, string $headerfault ]]]] ) This function is an alias of: SoapFault::SoapFault()

SoapServer::SoapServer

(PHP 5 >= 5.0.1, PHP 7) SoapServer constructor public SoapServer::SoapServer ( mixed $wsdl [, array $options ] ) This constructor allows the creation of SoapServer objects in WSDL or non-WSDL mode. Parameters: wsdl To use the SoapServer in WSDL mode, pass the URI of a WSDL file. Otherwise, pass NULL and set the uri option to the target namespace for the server.

SoapServer::setPersistence

(PHP 5 >= 5.1.2, PHP 7) Sets SoapServer persistence mode public void SoapServer::setPersistence ( int $mode ) This function allows changing the persistence state of a SoapServer object between requests. This function allows saving data between requests utilizing PHP sessions. This method only has an affect on a SoapServer after it has exported functions utilizing SoapServer::setClass(). Note: The persistence of SOAP_

SoapServer::setObject

(PHP 5 >= 5.2.0, PHP 7) Sets the object which will be used to handle SOAP requests public void SoapServer::setObject ( object $object ) This sets a specific object as the handler for SOAP requests, rather than just a class as in SoapServer::setClass(). Parameters: object The object to handle the requests. Returns: No value is returned.

SoapServer::setClass

(PHP 5 >= 5.0.1, PHP 7) Sets the class which handles SOAP requests public void SoapServer::setClass ( string $class_name [, mixed $args [, mixed $... ]] ) Exports all methods from specified class. The object can be made persistent across request for a given PHP session with the SoapServer::setPersistence() method. Parameters: class_name The name of the exported clas

SoapServer::handle

(PHP 5 >= 5.0.1, PHP 7) Handles a SOAP request public void SoapServer::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 assumed to be in the raw POST data of the HTTP request. Returns: No val

SoapServer::getFunctions

(PHP 5 >= 5.0.1, PHP 7) Returns list of defined functions public array SoapServer::getFunctions ( void ) Returns a list of the defined functions in the SoapServer object. This method returns the list of all functions added by SoapServer::addFunction() or SoapServer::setClass(). Returns: An array of the defined functions. Examples: S

SoapServer::fault

(PHP 5 >= 5.0.1, PHP 7) Issue SoapServer fault indicating an error public void SoapServer::fault ( string $code, string $string [, string $actor [, string $details [, string $name ]]] ) Sends a response to the client of the current request indicating an error. Note: This can only be called when handling a request. Parameters: code The error code to return

SoapServer::__construct

(PHP 5 >= 5.0.1, PHP 7) SoapServer constructor public SoapServer::__construct ( mixed $wsdl [, array $options ] ) This function is an alias of: SoapServer::SoapServer()

SoapServer::addSoapHeader

(PHP 5 >= 5.0.1, PHP 7) Add a SOAP header to the response public void SoapServer::addSoapHeader ( SoapHeader $object ) Adds a SOAP header to be returned with the response to the current request. Parameters: object The header to be returned. Returns: No value is returned.