nusoap_server allows the user to create a SOAP server that is capable of receiving messages and returning responses
Located in /nusoap.php (line 3424)
nusoap_base | --nusoap_server
Class | Description |
---|---|
![]() |
Backward compatibility |
![]() |
nusoap_server_mime server supporting MIME attachments defined at http://www.w3.org/TR/SOAP-attachments. It depends on the PEAR Mail_MIME library. |
whether to append debug to response as XML comment
toggles whether the parser decodes element content w/ utf8_decode()
SOAP body request portion (incomplete namespace resolution; special characters not escaped) (text)
URL for WSDL (if one)
SOAP fault for response (or false)
HTTP headers of request
name of method requested
method parameters from request
method return value to place in response
whether $methodreturn is a string of literal XML
requested method namespace URI
assoc array of operations => opData; operations are added by the register()
method or by parsing an external WSDL definition
HTTP headers of response
HTTP request
SOAP Headers from request (parsed)
SOAP headers from request (incomplete namespace resolution; special characters not escaped) (text)
SOAP payload for request (text)
HTTP response
SOAP headers for response (text or array of soapval or associative array)
SOAP payload for response (text)
text indication of result (for debugging)
SOAP Action from request
wsdl instance (if one)
character set encoding of incoming (request) messages
Inherited from nusoap_base
nusoap_base::$charencoding
nusoap_base::$debugLevel
nusoap_base::$debug_str
nusoap_base::$error_str
nusoap_base::$namespaces
nusoap_base::$revision
nusoap_base::$soap_defencoding
nusoap_base::$title
nusoap_base::$typemap
nusoap_base::$usedNamespaces
nusoap_base::$version
nusoap_base::$xmlEntities
nusoap_base::$XMLSchemaVersion
constructor the optional parameter is a path to a WSDL file that you'd like to bind the server instance to.
add a method to the dispatch map (this has been replaced by the register method)
Sets up wsdl object.
Acts as a flag to enable internal WSDL generation
Specify a fault to be returned to the client.
This also acts as a flag to the server that a fault has occured.
gets the HTTP body for the current response.
gets the HTTP content type for the current response.
Note: getHTTPBody must be called before this.
gets the HTTP content type charset for the current response.
returns false for non-text content types.
Note: getHTTPBody must be called before this.
invokes a PHP function for the requested SOAP method
The following fields are set by this function (when successful)
methodreturn
Note that the PHP function that is called may also set the following fields to affect the response sent to the client
responseHeaders outgoing_headers
This sets the fault field on error
processes SOAP message received from client
parses HTTP request headers.
The following fields are set by this function (when successful)
headers request xml_encoding SOAPAction
parses a request
The following fields are set by this function (when successful)
headers request xml_encoding SOAPAction request requestSOAP methodURI methodname methodparams requestHeaders document
This sets the fault field on error
register a service function with the server
sends an HTTP response
The following fields are set by this function (when successful)
outgoing_headers response
serializes the return value from a PHP function into a full SOAP Envelope
The following fields are set by this function (when successful)
responseSOAP
This sets the fault field on error
processes request and returns response
takes the value that was created by parsing the request and compares to the method's signature, if available.
Inherited From nusoap_base
nusoap_base::nusoap_base()
nusoap_base::appendDebug()
nusoap_base::clearDebug()
nusoap_base::contractQname()
nusoap_base::debug()
nusoap_base::expandEntities()
nusoap_base::expandQname()
nusoap_base::formatDump()
nusoap_base::getDebug()
nusoap_base::getDebugAsXMLComment()
nusoap_base::getDebugLevel()
nusoap_base::getError()
nusoap_base::getGlobalDebugLevel()
nusoap_base::getLocalPart()
nusoap_base::getmicrotime()
nusoap_base::getNamespaceFromPrefix()
nusoap_base::getPrefix()
nusoap_base::getPrefixFromNamespace()
nusoap_base::isArraySimpleOrStruct()
nusoap_base::serializeEnvelope()
nusoap_base::serialize_val()
nusoap_base::setDebugLevel()
nusoap_base::setError()
nusoap_base::setGlobalDebugLevel()
nusoap_base::varDump()
nusoap_base::__toString()
Documentation generated on Tue, 06 Nov 2007 10:36:47 -0500 by phpDocumentor 1.3.0RC3