ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSoapDummyAuthServer Class Reference
+ Collaboration diagram for ilSoapDummyAuthServer:

Public Member Functions

 ilSoapDummyAuthServer ($a_use_wsdl=true)
 start ()
 __enableWSDL ()
 __registerMethods ()

Data Fields

 $server = null

Detailed Description

Definition at line 69 of file class.ilSoapDummyAuthServer.php.

Member Function Documentation

ilSoapDummyAuthServer::__enableWSDL ( )

Definition at line 104 of file class.ilSoapDummyAuthServer.php.

Referenced by ilSoapDummyAuthServer().

{
$this->server->configureWSDL(SERVICE_NAME,SERVICE_NAMESPACE);
return true;
}

+ Here is the caller graph for this function:

ilSoapDummyAuthServer::__registerMethods ( )

Definition at line 112 of file class.ilSoapDummyAuthServer.php.

Referenced by ilSoapDummyAuthServer().

{
// Add useful complex types. E.g. array("a","b") or array(1,2)
$this->server->wsdl->addComplexType('intArray',
'complexType',
'array',
'',
'SOAP-ENC:Array',
array(),
array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'xsd:int[]')),
'xsd:int');
$this->server->wsdl->addComplexType('stringArray',
'complexType',
'array',
'',
'SOAP-ENC:Array',
array(),
array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'xsd:string[]')),
'xsd:string');
// isValidSession()
$this->server->register('isValidSession',
array('ext_uid' => 'xsd:string',
'soap_pw' => 'xsd:string',
'new_user' => 'xsd:boolean'),
array('valid' => 'xsd:boolean',
'firstname' => 'xsd:string',
'lastname' => 'xsd:string',
'email' => 'xsd:string'),
SERVICE_NAMESPACE,
SERVICE_NAMESPACE.'#isValidSession',
SERVICE_STYLE,
SERVICE_USE,
'Dummy Session Validation');
return true;
}

+ Here is the caller graph for this function:

ilSoapDummyAuthServer::ilSoapDummyAuthServer (   $a_use_wsdl = true)

Definition at line 77 of file class.ilSoapDummyAuthServer.php.

References __enableWSDL(), and __registerMethods().

{
define('SERVICE_NAME','ILIAS SOAP Dummy Authentication Server');
define('SERVICE_NAMESPACE','urn:ilSoapDummyAuthServer');
define('SERVICE_STYLE','rpc');
define('SERVICE_USE','encoded');
$this->server =& new soap_server();
if($a_use_wsdl)
{
$this->__enableWSDL();
}
}

+ Here is the call graph for this function:

ilSoapDummyAuthServer::start ( )

Definition at line 95 of file class.ilSoapDummyAuthServer.php.

References $HTTP_RAW_POST_DATA, and exit.

{
$this->server->service($HTTP_RAW_POST_DATA);
exit();
}

Field Documentation

ilSoapDummyAuthServer::$server = null

Definition at line 74 of file class.ilSoapDummyAuthServer.php.


The documentation for this class was generated from the following file: