Class nusoap_server
nusoap_server allows the user to create a SOAP server that is capable of receiving messages and returning responses
- nusoap_base
- nusoap_server
Direct known subclasses
soap_serverIndirect known subclasses
ShadeSoap_NusoapServerAuthor: Scott Nichol <snichol@users.sourceforge.net>
Version: $Id: nusoap.php,v 1.123 2010/04/26 20:15:08 snichol Exp $
Located at html/modules/legacy/lib/nusoap/nusoap.php
public
|
#
nusoap_server( mixed $wsdl = false )
constructor the optional parameter is a path to a WSDL file that you'd like to bind the server instance to. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
#
verify_method( string $operation, array $request )
takes the value that was created by parsing the request and compares to the method's signature, if available. |
public
mixed
|
|
public
string
|
|
public
string
|
|
public
string
|
#
getHTTPContentTypeCharset( )
gets the HTTP content type charset for the current response. returns false for non-text content types. |
public
|
|
public
|
|
public
|
#
configureWSDL( string $serviceName, mixed $namespace = false, mixed $endpoint = false, string $style = 'rpc', string $transport = 'http://schemas.xmlsoap.org/soap/http', mixed $schemaTargetNamespace = false )
Sets up wsdl object. Acts as a flag to enable internal WSDL generation |
public
array
|
$headers | array() |
#
HTTP headers of request |
public
string
|
$request | '' |
#
HTTP request |
public
string
|
$requestHeaders | '' |
#
SOAP headers from request (incomplete namespace resolution; special characters not escaped) (text) |
public
mixed
|
$requestHeader | NULL |
#
SOAP Headers from request (parsed) |
public
string
|
$document | '' |
#
SOAP body request portion (incomplete namespace resolution; special characters not escaped) (text) |
public
string
|
$requestSOAP | '' |
#
SOAP payload for request (text) |
public
string
|
$methodURI | '' |
#
requested method namespace URI |
public
string
|
$methodname | '' |
#
name of method requested |
public
array
|
$methodparams | array() |
#
method parameters from request |
public
string
|
$SOAPAction | '' |
#
SOAP Action from request |
public
string
|
$xml_encoding | '' |
#
character set encoding of incoming (request) messages |
public
boolean
|
$decode_utf8 | true |
#
toggles whether the parser decodes element content w/ utf8_decode() |
public
array
|
$outgoing_headers | array() |
#
HTTP headers of response |
public
string
|
$response | '' |
#
HTTP response |
public
mixed
|
$responseHeaders | '' |
#
SOAP headers for response (text or array of soapval or associative array) |
public
string
|
$responseSOAP | '' |
#
SOAP payload for response (text) |
public
mixed
|
$methodreturn | false |
#
method return value to place in response |
public
boolean
|
$methodreturnisliteralxml | false |
#
whether $methodreturn is a string of literal XML |
public
mixed
|
$fault | false |
#
SOAP fault for response (or false) |
public
string
|
$result | 'successful' |
#
text indication of result (for debugging) |
public
array
|
$operations | array() |
#
assoc array of operations => opData; operations are added by the register() method or by parsing an external WSDL definition |
public
mixed
|
$wsdl | false |
#
wsdl instance (if one) |
public
mixed
|
$externalWSDLURL | false |
#
URL for WSDL (if one) |
public
boolean
|
$debug_flag | false |
#
whether to append debug to response as XML comment |
$XMLSchemaVersion,
$charencoding,
$debugLevel,
$debug_str,
$error_str,
$namespaces,
$revision,
$soap_defencoding,
$title,
$typemap,
$usedNamespaces,
$version
|