Zend_Soap_Server
Located in /Soap/Server.php (line 37)
Actor URI
Class registered with this server
Arguments to pass to $_class constructor
Array of SOAP type => PHP class pairings for handling return/incoming values
Encoding
Registered fault exceptions
Functions registered with this server; may be either an array or the SOAP_FUNCTIONS_ALL
constant
Persistence mode; should be one of the SOAP persistence constants
Request XML
Response XML
Flag: whether or not handle() should return a response instead of automatically emitting it.
SOAP version to use; SOAP_1_2 by default, to allow processing of headers
URI namespace for SOAP server
Constructor
Sets display_errors INI setting to off (prevent client errors due to bad XML in response). Registers handlePhpErrors() as error handler for E_USER_ERROR.
If $wsdl is provided, it is passed on to setWsdl(); if any options are specified, they are passed on to setOptions().
Attach a function as a server method
Deregister a fault exception from the fault exception stack
Generate a server fault
Note that the arguments are reverse to those of SoapFault.
If an exception is passed as the first argument, its message and code will be used to create the fault object if it has been registered via {@Link registerFaultException()}.
Retrieve actor
Retrieve classmap
Get encoding
Return fault exceptions list
Return a server definition array
Returns a list of all functions registered with addFunction(), merged with all public methods of the class set with setClass() (if any).
Retrieve request XML
Get response XML
Return array of options suitable for using with SoapServer constructor
Retrieve return response flag
Get SOAP version
Retrieve URI
Retrieve wsdl
Handle a request
Instantiates SoapServer object with options set in object, and dispatches its handle() method.
$request may be any request type handled by setRequest().
If no request is passed, pulls request using php:://input (for cross-platform compatability purposes).
Throw PHP errors as SoapFaults
Unimplemented: Load server definition
Register a valid fault exception
Set actor
Actor is the actor URI for the server.
Attach a class to a server
Accepts a class name to use when handling requests. Any additional arguments will be passed to that class' constructor when instantiated.
Set encoding
Set Options
Allows setting options as an associative array of option => value pairs.
Set server persistence
Set request
$request may be any of:
Set return response flag
If true, handle() will return the response instead of automatically sending it back to the requesting client.
The response is always available via getResponse().
Set SOAP version
Set URI
URI in SoapServer is actually the target namespace, not a URI; $uri must begin with 'urn:'.
Check for valid URN
Get SoapServer object
Uses $_wsdl and return value of getOptions() to instantiate SoapServer object, and then registers any functions or class with it, as well as peristence.
Documentation generated on Sun, 27 May 2007 23:29:39 -0700 by phpDocumentor 1.3.2