Class nusoap_base
nusoap_base
Direct known subclasses
nusoap_client, nusoap_fault, nusoap_parser, nusoap_server, nusoap_xmlschema, soap_transport_http, soapval, wsdlIndirect known subclasses
ShadeSoap_NusoapServer, soap_fault, soap_parser, soap_server, soapclient, XMLSchemaAuthor: 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
|
|
public
integer
|
|
public
|
#
setGlobalDebugLevel( integer $level )
sets the global debug level, which applies to future instances |
public
integer
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
getDebugAsXMLComment( )
gets the current debug data for this instance as an XML comment this may change the contents of the debug data |
public
|
|
public
mixed
|
|
public
boolean
|
|
public
string
|
#
isArraySimpleOrStruct( mixed $val )
detect if array is a simple array or a struct (associative array) |
public
string
|
#
serialize_val( mixed $val, string $name = false, string $type = false, string $name_ns = false, string $type_ns = false, array $attributes = false, string $use = 'encoded', boolean $soapval = false )
serializes PHP values in accordance w/ section 5. Type information is not serialized if $use == 'literal'. |
public
string
|
#
serializeEnvelope( string $body, mixed $headers = false, array $namespaces = array(), string $style = 'rpc', string $use = 'encoded', string $encodingStyle = 'http://schemas.xmlsoap.org/soap/encoding/' )
serializes a message |
public
string
|
|
public
string
|
|
public
string
|
#
getLocalPart( string $str )
returns the local part of a prefixed string returns the original string, if not prefixed |
public
mixed
|
|
public
mixed
|
|
public
mixed
|
#
getPrefixFromNamespace( string $ns )
returns the prefix for a given namespace (or prefix) or false if no prefixes registered for the given namespace |
public
string
|
|
public
string
|
|
public
string
|
public
string
|
$title | 'NuSOAP' |
#
Identification for HTTP headers. |
public
string
|
$version | '0.9.5' |
#
Version for HTTP headers. |
public
string
|
$revision | '$Revision: 1.123 $' |
#
CVS revision for HTTP headers. |
public
string
|
$error_str | '' |
#
Current error string (manipulated by getError/setError) |
public
string
|
$debug_str | '' |
#
Current debug string (manipulated by debug/appendDebug/clearDebug/getDebug/getDebugAsXMLComment) |
public
boolean
|
$charencoding | true |
#
toggles automatic encoding of special characters as entities (should always be true, I think) |
public
integer
|
$debugLevel |
|
#
the debug level for this instance |
public
string
|
$XMLSchemaVersion | 'http://www.w3.org/2001/XMLSchema' |
#
set schema version |
public
string
|
$soap_defencoding | 'ISO-8859-1' |
#
charset encoding for outgoing messages |
public
array
|
$namespaces | array(
'SOAP-ENV' => 'http://schemas.xmlsoap.org/soap/envelope/',
'xsd' => 'http://www.w3.org/2001/XMLSchema',
'xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
'SOAP-ENC' => 'http://schemas.xmlsoap.org/soap/encoding/'
) |
#
namespaces in an array of prefix => uri |
public
array
|
$usedNamespaces | array() |
#
namespaces used in the current context, e.g. during serialization |
public
array
|
$typemap | array(
'http://www.w3.org/2001/XMLSchema' => array(
'string'=>'string','boolean'=>'boolean','float'=>'double','double'=>'double','decimal'=>'double',
'duration'=>'','dateTime'=>'string','time'=>'string','date'=>'string','gYearMonth'=>'',
'gYear'=>'','gMonthDay'=>'','gDay'=>'','gMonth'=>'','hexBinary'=>'string','base64Binary'=>'string',
// abstract "any" types
'anyType'=>'string','anySimpleType'=>'string',
// derived datatypes
'normalizedString'=>'string','token'=>'string','language'=>'','NMTOKEN'=>'','NMTOKENS'=>'','Name'=>'','NCName'=>'','ID'=>'',
'IDREF'=>'','IDREFS'=>'','ENTITY'=>'','ENTITIES'=>'','integer'=>'integer','nonPositiveInteger'=>'integer',
'negativeInteger'=>'integer','long'=>'integer','int'=>'integer','short'=>'integer','byte'=>'integer','nonNegativeInteger'=>'integer',
'unsignedLong'=>'','unsignedInt'=>'','unsignedShort'=>'','unsignedByte'=>'','positiveInteger'=>''),
'http://www.w3.org/2000/10/XMLSchema' => array(
'i4'=>'','int'=>'integer','boolean'=>'boolean','string'=>'string','double'=>'double',
'float'=>'double','dateTime'=>'string',
'timeInstant'=>'string','base64Binary'=>'string','base64'=>'string','ur-type'=>'array'),
'http://www.w3.org/1999/XMLSchema' => array(
'i4'=>'','int'=>'integer','boolean'=>'boolean','string'=>'string','double'=>'double',
'float'=>'double','dateTime'=>'string',
'timeInstant'=>'string','base64Binary'=>'string','base64'=>'string','ur-type'=>'array'),
'http://soapinterop.org/xsd' => array('SOAPStruct'=>'struct'),
'http://schemas.xmlsoap.org/soap/encoding/' => array('base64'=>'string','array'=>'array','Array'=>'array'),
'http://xml.apache.org/xml-soap' => array('Map')
) |
#
XML Schema types in an array of uri => (array of xml type => php type) is this legacy yet? no, this is used by the nusoap_xmlschema class to verify type => namespace mappings. |