|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Inheritance diagram for ilBMFWSDL:
Collaboration diagram for ilBMFWSDL:Public Member Functions | |
| ilBMFWSDL ($wsdl_uri=false, $proxy=array(), $cacheUse=WSDL_CACHE_USE, $cacheMaxAge=WSDL_CACHE_MAX_AGE, $docs=false) | |
| ilBMFWSDL constructor. More... | |
| set_service ($service) | |
| parse ($wsdl_uri, $proxy=array()) | |
| parseURL ($wsdl_uri, $proxy=array()) | |
| Fills the WSDL array tree with data from a WSDL file. More... | |
| parseObject (&$wsdl_obj, $targetNamespace, $service_name, $service_desc='') | |
| Fills the WSDL array tree with data from one or more PHP class objects. More... | |
| getEndpoint ($portName) | |
| _getPortName ($operation, $service) | |
| getPortName ($operation, $service=null) | |
| Finds the name of the first port that contains an operation of name $operation. More... | |
| getOperationData ($portName, $operation) | |
| matchMethod (&$operation) | |
| getDataHandler ($datatype, $namespace) | |
| Given a datatype, what function handles the processing? More... | |
| getSoapAction ($portName, $operation) | |
| getNamespace ($portName, $operation) | |
| getNamespaceAttributeName ($namespace) | |
| addNamespace ($namespace) | |
| _validateString ($string) | |
| _addArg (&$args, &$argarray, $argname) | |
| _elementArg (&$args, &$argarray, &$_argtype, $_argname) | |
| _complexTypeArg (&$args, &$argarray, &$_argtype, $_argname) | |
| generateProxyCode ($port='', $classname='') | |
| Generates stub code from the WSDL that can be saved to a file or eval'd into existence. More... | |
| generateAllProxies () | |
| & | getProxy ($port='', $name='') |
| & | _getComplexTypeForElement ($name, $namespace) |
| getComplexTypeNameForElement ($name, $namespace) | |
| getComplexTypeChildType ($ns, $name, $child_ns, $child_name) | |
| getSchemaType ($type, $name, $type_namespace) | |
| _getDeepestArrayType ($nsPrefix, $arrayType) | |
| Recurse through the WSDL structure looking for the innermost array type of multi-dimensional arrays. More... | |
Public Member Functions inherited from ilBMFBase | |
| ilBMFBase ($faultcode='Client') | |
| Constructor. More... | |
| _resetNamespaces () | |
| _setSchemaVersion ($schemaVersion) | |
| Sets the schema version used in the SOAP message. More... | |
| _getNamespacePrefix ($ns) | |
| _getNamespaceForPrefix ($prefix) | |
| _isSoapValue (&$value) | |
| _serializeValue (&$value, $name='', $type=false, $elNamespace=NULL, $typeNamespace=NULL, $options=array(), $attributes=array(), $artype='', $OBJTypeNS=array()) | |
| _getType (&$value) | |
| Converts a PHP type to a SOAP type. More... | |
| _multiArrayType (&$value, &$type, &$size, &$xml) | |
| _isBase64 (&$value) | |
| Returns whether a string is base64 encoded data. More... | |
| _isBase64Type ($type) | |
| Returns whether a type is a base64 type. More... | |
| _isHash (&$a) | |
| Returns whether an array is a hash. More... | |
| _un_htmlentities ($string) | |
| & | _decode (&$soapval) |
| _makeEnvelope (&$method, &$headers, $encoding=SOAP_DEFAULT_ENCODING, $options=array()) | |
| Creates the SOAP envelope with the SOAP envelop data. More... | |
| _makeMimeMessage (&$xml, $encoding=SOAP_DEFAULT_ENCODING) | |
| _makeDIMEMessage ($xml) | |
| _decodeMimeMessage (&$data, &$headers, &$attachments) | |
| _decodeDIMEMessage (&$data, &$headers, &$attachments) | |
| __set_type_translation ($type, $class=null) | |
Public Member Functions inherited from ilBMFBase_Object | |
| ilBMFBase_Object ($faultcode='Client') | |
| Constructor. More... | |
| & | _raiseSoapFault ($str, $detail='', $actorURI='', $code=null, $mode=null, $options=null, $skipmsg=false) |
| Raises a SOAP error. More... | |
| __isfault () | |
| & | __getfault () |
| _debug ($string) | |
| Adds a string to the debug data. More... | |
Public Member Functions inherited from PEAR | |
| PEAR ($error_class=null) | |
| Constructor. More... | |
| _PEAR () | |
| Destructor (the emulated type of...). More... | |
| & | getStaticProperty ($class, $var) |
| If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. More... | |
| registerShutdownFunc ($func, $args=array()) | |
| Use this function to register a shutdown method for static classes. More... | |
| isError ($data, $code=null) | |
| Tell whether a value is a PEAR error. More... | |
| setErrorHandling ($mode=null, $options=null) | |
| Sets how errors generated by this object should be handled. More... | |
| expectError ($code=' *') | |
| This method is used to tell which errors you expect to get. More... | |
| popExpect () | |
| This method pops one element off the expected error codes stack. More... | |
| _checkDelExpect ($error_code) | |
| This method checks unsets an error code if available. More... | |
| delExpect ($error_code) | |
| This method deletes all occurences of the specified element from the expected error codes stack. More... | |
| & | raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) |
| This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. More... | |
| & | throwError ($message=null, $code=null, $userinfo=null) |
| Simpler form of raiseError with fewer options. More... | |
| staticPushErrorHandling ($mode, $options=null) | |
| staticPopErrorHandling () | |
| pushErrorHandling ($mode, $options=null) | |
| Push a new error handler on top of the error handler options stack. More... | |
| popErrorHandling () | |
| Pop the last error handler used. More... | |
| loadExtension ($ext) | |
| OS independant PHP extension load. More... | |
Data Fields | |
| $tns = null | |
| $definition = array() | |
| $namespaces = array() | |
| $ns = array() | |
| $xsd = SOAP_XML_SCHEMA_VERSION | |
| $complexTypes = array() | |
| $elements = array() | |
| $messages = array() | |
| $portTypes = array() | |
| $bindings = array() | |
| $imports = array() | |
| $services = array() | |
| $service = '' | |
| $uri = '' | |
| $docs = false | |
| $proxy = null | |
| $trace = 0 | |
| $cacheUse = null | |
| $cacheMaxAge = null | |
| $wsdlParserClass = 'ilBMFWSDL_Parser' | |
Data Fields inherited from ilBMFBase | |
| $_XMLSchema | |
| $_XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' | |
| $_typemap | |
| $_defaultObjectClassname = 'stdClass' | |
| Default class name to use for decoded response objects. More... | |
| $_namespaces | |
| $_namespace | |
| $_xmlEntities | |
| $_doconversion = false | |
| $__attachments = array() | |
| $_wsdl = null | |
| $_section5 = true | |
| True if we use section 5 encoding, or false if this is literal. More... | |
| $_auto_translation = false | |
| $_type_translation = array() | |
Data Fields inherited from ilBMFBase_Object | |
| $_debug_flag = false | |
| Store debugging information in $_debug_data? More... | |
| $_debug_data = '' | |
| String containing debugging information if $_debug_flag is true. More... | |
| $_encodings = array('ISO-8859-1', 'US-ASCII', 'UTF-8') | |
| Supported encodings, limited by XML extension. More... | |
| $_myfaultcode = '' | |
| Fault code. More... | |
| $fault = null | |
| Recent PEAR_Error object. More... | |
Data Fields inherited from PEAR | |
| $_debug = false | |
| $_default_error_mode = null | |
| $_default_error_options = null | |
| $_default_error_handler = '' | |
| $_error_class = 'PEAR_Error' | |
| $_expected_errors = array() | |
Definition at line 49 of file class.ilBMFWSDL.php.
| ilBMFWSDL::_addArg | ( | & | $args, |
| & | $argarray, | ||
| $argname | |||
| ) |
Definition at line 441 of file class.ilBMFWSDL.php.
References _validateString().
Referenced by _complexTypeArg(), _elementArg(), and generateProxyCode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBMFWSDL::_complexTypeArg | ( | & | $args, |
| & | $argarray, | ||
| & | $_argtype, | ||
| $_argname | |||
| ) |
Definition at line 499 of file class.ilBMFWSDL.php.
References _addArg().
Referenced by generateProxyCode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBMFWSDL::_elementArg | ( | & | $args, |
| & | $argarray, | ||
| & | $_argtype, | ||
| $_argname | |||
| ) |
Definition at line 456 of file class.ilBMFWSDL.php.
References $tns, and _addArg().
Referenced by generateProxyCode().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilBMFWSDL::_getComplexTypeForElement | ( | $name, | |
| $namespace | |||
| ) |
Definition at line 734 of file class.ilBMFWSDL.php.
References $namespace, $ns, and $t.
Referenced by getComplexTypeChildType(), and getComplexTypeNameForElement().
Here is the caller graph for this function:| ilBMFWSDL::_getDeepestArrayType | ( | $nsPrefix, | |
| $arrayType | |||
| ) |
Recurse through the WSDL structure looking for the innermost array type of multi-dimensional arrays.
Takes a namespace prefix and a type, which can be in the form 'type' or 'type[]', and returns the full namespace URI, the type of the most deeply nested array type found, and the number of levels of nesting.
@access private
Definition at line 846 of file class.ilBMFWSDL.php.
References $result, and _getDeepestArrayType().
Referenced by _getDeepestArrayType(), and getSchemaType().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBMFWSDL::_getPortName | ( | $operation, | |
| $service | |||
| ) |
Definition at line 197 of file class.ilBMFWSDL.php.
References $service.
Referenced by getPortName().
Here is the caller graph for this function:| ilBMFWSDL::_validateString | ( | $string | ) |
Definition at line 436 of file class.ilBMFWSDL.php.
Referenced by _addArg(), and generateProxyCode().
Here is the caller graph for this function:| ilBMFWSDL::addNamespace | ( | $namespace | ) |
Definition at line 422 of file class.ilBMFWSDL.php.
References $n, and $namespace.
Referenced by getNamespaceAttributeName().
Here is the caller graph for this function:| ilBMFWSDL::generateAllProxies | ( | ) |
Definition at line 689 of file class.ilBMFWSDL.php.
References $service, and generateProxyCode().
Here is the call graph for this function:| ilBMFWSDL::generateProxyCode | ( | $port = '', |
|
$classname = '' |
|||
| ) |
Generates stub code from the WSDL that can be saved to a file or eval'd into existence.
Definition at line 521 of file class.ilBMFWSDL.php.
References $namespace, $ns, $service, ilBMFBase_Object\__getfault(), ilBMFBase_Object\__isfault(), _addArg(), _complexTypeArg(), _elementArg(), and _validateString().
Referenced by generateAllProxies(), and getProxy().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBMFWSDL::getComplexTypeChildType | ( | $ns, | |
| $name, | |||
| $child_ns, | |||
| $child_name | |||
| ) |
Definition at line 759 of file class.ilBMFWSDL.php.
References $ns, $t, and _getComplexTypeForElement().
Here is the call graph for this function:| ilBMFWSDL::getComplexTypeNameForElement | ( | $name, | |
| $namespace | |||
| ) |
Definition at line 750 of file class.ilBMFWSDL.php.
References $namespace, $t, and _getComplexTypeForElement().
Here is the call graph for this function:| ilBMFWSDL::getDataHandler | ( | $datatype, | |
| $namespace | |||
| ) |
Given a datatype, what function handles the processing?
This is used for doc/literal requests where we receive a datatype, and we need to pass it to a method in out server class.
| string | $datatype | |
| string | $namespace |
Definition at line 342 of file class.ilBMFWSDL.php.
References $namespace.
| ilBMFWSDL::getEndpoint | ( | $portName | ) |
Definition at line 186 of file class.ilBMFWSDL.php.
References $service, ilBMFBase_Object\__getfault(), ilBMFBase_Object\__isfault(), and ilBMFBase_Object\_raiseSoapFault().
Here is the call graph for this function:| ilBMFWSDL::getNamespace | ( | $portName, | |
| $operation | |||
| ) |
Definition at line 394 of file class.ilBMFWSDL.php.
References $service, ilBMFBase_Object\__getfault(), and ilBMFBase_Object\__isfault().
Here is the call graph for this function:| ilBMFWSDL::getNamespaceAttributeName | ( | $namespace | ) |
Definition at line 407 of file class.ilBMFWSDL.php.
References $namespace, and addNamespace().
Here is the call graph for this function:| ilBMFWSDL::getOperationData | ( | $portName, | |
| $operation | |||
| ) |
Definition at line 242 of file class.ilBMFWSDL.php.
References ilBMFBase_Object\__getfault(), ilBMFBase_Object\__isfault(), and ilBMFBase_Object\_raiseSoapFault().
Here is the call graph for this function:| ilBMFWSDL::getPortName | ( | $operation, | |
$service = null |
|||
| ) |
Finds the name of the first port that contains an operation of name $operation.
Always returns a SOAP portName.
Definition at line 216 of file class.ilBMFWSDL.php.
References $service, ilBMFBase_Object\__getfault(), ilBMFBase_Object\__isfault(), _getPortName(), and ilBMFBase_Object\_raiseSoapFault().
Here is the call graph for this function:| & ilBMFWSDL::getProxy | ( | $port = '', |
|
$name = '' |
|||
| ) |
Definition at line 699 of file class.ilBMFWSDL.php.
References ilBMFBase_Object\$fault, $proxy, $service, ilBMFBase_Object\__getfault(), ilBMFBase_Object\__isfault(), and generateProxyCode().
Here is the call graph for this function:| ilBMFWSDL::getSchemaType | ( | $type, | |
| $name, | |||
| $type_namespace | |||
| ) |
Definition at line 771 of file class.ilBMFWSDL.php.
References $ns, and _getDeepestArrayType().
Here is the call graph for this function:| ilBMFWSDL::getSoapAction | ( | $portName, | |
| $operation | |||
| ) |
Definition at line 381 of file class.ilBMFWSDL.php.
References $service, ilBMFBase_Object\__getfault(), and ilBMFBase_Object\__isfault().
Here is the call graph for this function:| ilBMFWSDL::ilBMFWSDL | ( | $wsdl_uri = false, |
|
$proxy = array(), |
|||
$cacheUse = WSDL_CACHE_USE, |
|||
$cacheMaxAge = WSDL_CACHE_MAX_AGE, |
|||
$docs = false |
|||
| ) |
ilBMFWSDL constructor.
| string | $wsdl_uri | URL to WSDL file. |
| array | $proxy | Contains options for HTTP_Request class |
| boolean | $cacheUse | Use WSDL caching. Defaults to false. |
| integer | $cacheMaxAge | Cache max lifetime (in seconds). |
| boolean | $docs | Parse documentation in the WSDL? Defaults to false. |
@access public
Definition at line 111 of file class.ilBMFWSDL.php.
References $cacheMaxAge, $cacheUse, $docs, $proxy, PEAR\isError(), and parseURL().
Here is the call graph for this function:| ilBMFWSDL::matchMethod | ( | & | $operation | ) |
Definition at line 315 of file class.ilBMFWSDL.php.
References ilBMFBase_Object\__getfault(), and ilBMFBase_Object\__isfault().
Here is the call graph for this function:| ilBMFWSDL::parse | ( | $wsdl_uri, | |
$proxy = array() |
|||
| ) |
Definition at line 142 of file class.ilBMFWSDL.php.
References $proxy, and parseURL().
Here is the call graph for this function:| ilBMFWSDL::parseObject | ( | & | $wsdl_obj, |
| $targetNamespace, | |||
| $service_name, | |||
$service_desc = '' |
|||
| ) |
Fills the WSDL array tree with data from one or more PHP class objects.
| mixed | $wsdl_obj | An object or array of objects to add to the internal WSDL tree. |
| string | $targetNamespace | The target namespace of schema types etc. |
| string | $service_name | Name of the WSDL service. |
| string | $service_desc | Optional description of the WSDL service. |
Definition at line 174 of file class.ilBMFWSDL.php.
References ilBMFBase_Object\_raiseSoapFault().
Here is the call graph for this function:| ilBMFWSDL::parseURL | ( | $wsdl_uri, | |
$proxy = array() |
|||
| ) |
Fills the WSDL array tree with data from a WSDL file.
| string | $wsdl_uri | URL to WSDL file. |
| array | $proxy | Contains options for HTTP_Request class |
Definition at line 154 of file class.ilBMFWSDL.php.
References ilBMFBase_Object\_raiseSoapFault().
Referenced by ilBMFWSDL(), and parse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBMFWSDL::set_service | ( | $service | ) |
Definition at line 132 of file class.ilBMFWSDL.php.
References $service.
| ilBMFWSDL::$bindings = array() |
Definition at line 60 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$cacheMaxAge = null |
Definition at line 88 of file class.ilBMFWSDL.php.
Referenced by ilBMFWSDL().
| ilBMFWSDL::$cacheUse = null |
Definition at line 81 of file class.ilBMFWSDL.php.
Referenced by ilBMFWSDL().
| ilBMFWSDL::$complexTypes = array() |
Definition at line 56 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$definition = array() |
Definition at line 52 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$docs = false |
Definition at line 65 of file class.ilBMFWSDL.php.
Referenced by ilBMFWSDL().
| ilBMFWSDL::$elements = array() |
Definition at line 57 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$imports = array() |
Definition at line 61 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$messages = array() |
Definition at line 58 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$namespaces = array() |
Definition at line 53 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$ns = array() |
Definition at line 54 of file class.ilBMFWSDL.php.
Referenced by _getComplexTypeForElement(), generateProxyCode(), getComplexTypeChildType(), and getSchemaType().
| ilBMFWSDL::$portTypes = array() |
Definition at line 59 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$proxy = null |
Definition at line 72 of file class.ilBMFWSDL.php.
Referenced by getProxy(), ilBMFWSDL(), and parse().
| ilBMFWSDL::$service = '' |
Definition at line 63 of file class.ilBMFWSDL.php.
Referenced by _getPortName(), generateAllProxies(), generateProxyCode(), getEndpoint(), getNamespace(), getPortName(), getProxy(), getSoapAction(), and set_service().
| ilBMFWSDL::$services = array() |
Definition at line 62 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$tns = null |
Definition at line 51 of file class.ilBMFWSDL.php.
Referenced by _elementArg().
| ilBMFWSDL::$trace = 0 |
Definition at line 74 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$uri = '' |
Definition at line 64 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$wsdlParserClass = 'ilBMFWSDL_Parser' |
Definition at line 96 of file class.ilBMFWSDL.php.
| ilBMFWSDL::$xsd = SOAP_XML_SCHEMA_VERSION |
Definition at line 55 of file class.ilBMFWSDL.php.