Class wsdl
parses a WSDL file, allows access to it's data, other utility methods. also builds WSDL structures programmatically.
- nusoap_base
- wsdl
Author: 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
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setCredentials( string $username, string $password, string $authtype = 'basic', array $certRequest = array() )
if authenticating, set user credentials here |
public
|
|
public
array
|
#
getOperations( string $portName = '', string $bindingType = 'soap' )
returns an assoc array of operation names => operation data |
public
array
|
#
getOperationData( string $operation, string $bindingType = 'soap' )
returns an associative array of data necessary for calling an operation |
public
array
|
#
getOperationDataForSoapAction( string $soapAction, string $bindingType = 'soap' )
returns an associative array of data necessary for calling an operation |
public
mixed
|
#
getTypeDef( string $type, string $ns )
returns an array of information about a given type returns false if no type exists by the given name |
public
|
|
public
string
|
|
public
boolean
|
#
parametersMatchWrapped( string $type, array & $parameters )
determine whether a set of parameters are unwrapped when they are expect to be wrapped, Microsoft-style. |
public
mixed
|
#
serializeRPCParameters( string $operation, string $direction, mixed $parameters, string $bindingType = 'soap' )
serialize PHP values according to a WSDL message definition contrary to the method name, this is not limited to RPC |
public
string
|
#
serializeType( string $name, string $type, mixed $value, string $use = 'encoded', string $encodingStyle = false, boolean $unqualified = false )
serializes a PHP value according a given type definition |
public
string
|
#
serializeComplexTypeAttributes( array $typeDef, mixed $value, string $ns, string $uqType )
serializes the attributes for a complexType |
public
string
|
#
serializeComplexTypeElements( array $typeDef, mixed $value, string $ns, string $uqType, string $use = 'encoded', string $encodingStyle = false )
serializes the elements for a complexType |
public
|
#
addComplexType( string $name, string $typeClass = 'complexType', string $phpType = 'array', string $compositor = '', string $restrictionBase = '', array $elements = array(), array $attrs = array(), string $arrayType = '' )
adds an XML Schema complex type to the WSDL types |
public
|
#
addSimpleType( string $name, string $restrictionBase = '', string $typeClass = 'simpleType', string $phpType = 'scalar', array $enumeration = array() )
adds an XML Schema simple type to the WSDL types |
public
|
|
public
|
#
addOperation( string $name, array $in = false, array $out = false, string $namespace = false, string $soapaction = false, string $style = 'rpc', string $use = 'encoded', string $documentation = '', string $encodingStyle = '' )
register an operation with the server |
public
|
$wsdl |
|
|
public
array
|
$schemas | array() |
|
public
|
$currentSchema |
|
|
public
array
|
$message | array() |
|
public
array
|
$complexTypes | array() |
|
public
array
|
$messages | array() |
|
public
|
$currentMessage |
|
|
public
|
$currentOperation |
|
|
public
array
|
$portTypes | array() |
|
public
|
$currentPortType |
|
|
public
array
|
$bindings | array() |
|
public
|
$currentBinding |
|
|
public
array
|
$ports | array() |
|
public
|
$currentPort |
|
|
public
array
|
$opData | array() |
|
public
string
|
$status | '' |
|
public
boolean
|
$documentation | false |
|
public
string
|
$endpoint | '' |
|
public
array
|
$import | array() |
|
public
|
$parser |
|
|
public
integer
|
$position | 0 |
|
public
integer
|
$depth | 0 |
|
public
array
|
$depth_array | array() |
|
public
string
|
$proxyhost | '' |
|
public
string
|
$proxyport | '' |
|
public
string
|
$proxyusername | '' |
|
public
string
|
$proxypassword | '' |
|
public
integer
|
$timeout | 0 |
|
public
integer
|
$response_timeout | 30 |
|
public
array
|
$curl_options | array() |
|
public
boolean
|
$use_curl | false |
|
public
string
|
$username | '' |
|
public
string
|
$password | '' |
|
public
string
|
$authtype | '' |
|
public
array
|
$certRequest | array() |
$XMLSchemaVersion,
$charencoding,
$debugLevel,
$debug_str,
$error_str,
$namespaces,
$revision,
$soap_defencoding,
$title,
$typemap,
$usedNamespaces,
$version
|