Moodle  2.2.1
http://www.collinsharper.com
webservice_soap_server Class Reference
Inheritance diagram for webservice_soap_server:
Collaboration diagram for webservice_soap_server:

Public Member Functions

 __construct ($authmethod)

Protected Member Functions

 init_zend_server ()
 parse_request ()
 send_error ($ex=null)
 generate_simple_struct_class (external_single_structure $structdesc)

Detailed Description

SOAP service server implementation.

Author:
Petr Skoda (skodak)

Definition at line 69 of file locallib.php.


Constructor & Destructor Documentation

__construct ( authmethod)

Contructor

Parameters:
bool$simpleuse simple authentication

Reimplemented from webservice_server.

Definition at line 74 of file locallib.php.

Here is the call graph for this function:


Member Function Documentation

Reimplemented from webservice_zend_server.

Definition at line 180 of file locallib.php.

Here is the call graph for this function:

init_zend_server ( ) [protected]

Set up zend service class

Returns:
void

Reimplemented from webservice_zend_server.

Definition at line 92 of file locallib.php.

Here is the call graph for this function:

parse_request ( ) [protected]

This method parses the $_POST and $_GET superglobals and looks for the following information: 1/ user authentication - username+password or token (wsusername, wspassword and wstoken parameters)

Returns:
void

Reimplemented from webservice_zend_server.

Definition at line 134 of file locallib.php.

Here is the call graph for this function:

send_error ( ex = null) [protected]

Send the error information to the WS client formatted as XML document.

Parameters:
exception$ex
Returns:
void

Reimplemented from webservice_zend_server.

Definition at line 153 of file locallib.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations