nusoap_servernusoap_server allows the user to create a SOAP server that is capable of receiving messages and returning responses
Located in /nusoap.php (line 3473)
nusoap_base | --nusoap_server
| Class | Description |
|---|---|
soap_server
|
Backward compatibility |
nusoap_server_mime
|
nusoap_server_mime server supporting MIME attachments defined at http://www.w3.org/TR/SOAP-attachments. It depends on the PEAR Mail_MIME library. |
void
configureWSDL
(mixed $serviceName, [mixed $namespace = false], [mixed $endpoint = false], [string $style = 'rpc'], [string $transport = 'http://schemas.xmlsoap.org/soap/http'], [mixed $schemaTargetNamespace = false], string $serviceName,)
void
fault
(string $faultcode, string $faultstring, [string $faultactor = ''], [string $faultdetail = ''])
void
register
(string $name, [array $in = array()], [array $out = array()], [mixed $namespace = false], [mixed $soapaction = false], [mixed $style = false], [mixed $use = false], [string $documentation = ''], [string $encodingStyle = ''])
boolean
$debug_flag
= false (line 3620)
whether to append debug to response as XML comment
boolean
$decode_utf8
= true (line 3545)
toggles whether the parser decodes element content w/ utf8_decode()
string
$document
= '' (line 3503)
SOAP body request portion (incomplete namespace resolution; special characters not escaped) (text)
mixed
$externalWSDLURL
= false (line 3614)
URL for WSDL (if one)
mixed
$fault
= false (line 3588)
SOAP fault for response (or false)
array
$headers
= array() (line 3479)
HTTP headers of request
string
$methodname
= '' (line 3521)
name of method requested
array
$methodparams
= array() (line 3527)
method parameters from request
mixed
$methodreturn
= false (line 3576)
method return value to place in response
boolean
$methodreturnisliteralxml
= false (line 3582)
whether $methodreturn is a string of literal XML
string
$methodURI
= '' (line 3515)
requested method namespace URI
array
$operations
= array() (line 3602)
assoc array of operations => opData; operations are added by the register()
method or by parsing an external WSDL definition
array
$outgoing_headers
= array() (line 3552)
HTTP headers of response
string
$request
= '' (line 3485)
HTTP request
mixed
$requestHeader
= NULL (line 3497)
SOAP Headers from request (parsed)
string
$requestHeaders
= '' (line 3491)
SOAP headers from request (incomplete namespace resolution; special characters not escaped) (text)
string
$requestSOAP
= '' (line 3509)
SOAP payload for request (text)
string
$response
= '' (line 3558)
HTTP response
mixed
$responseHeaders
= '' (line 3564)
SOAP headers for response (text or array of soapval or associative array)
string
$responseSOAP
= '' (line 3570)
SOAP payload for response (text)
string
$result
= 'successful' (line 3594)
text indication of result (for debugging)
string
$SOAPAction
= '' (line 3533)
SOAP Action from request
mixed
$wsdl
= false (line 3608)
wsdl instance (if one)
string
$xml_encoding
= '' (line 3539)
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 Mon, 26 Apr 2010 16:17:04 -0400 by phpDocumentor 1.3.0RC3