34 include_once
'./webservice/soap/lib/nusoap.php';
50 $ret[
"firstname"] =
"first ".$ext_uid;
51 $ret[
"lastname"] =
"last ".$ext_uid;
62 $ret[
"valid"] =
false;
79 define(
'SERVICE_NAME',
'ILIAS SOAP Dummy Authentication Server');
80 define(
'SERVICE_NAMESPACE',
'urn:ilSoapDummyAuthServer');
81 define(
'SERVICE_STYLE',
'rpc');
82 define(
'SERVICE_USE',
'encoded');
99 $this->server->service($HTTP_RAW_POST_DATA);
106 $this->server->configureWSDL(SERVICE_NAME,SERVICE_NAMESPACE);
116 $this->server->wsdl->addComplexType(
'intArray',
122 array(array(
'ref'=>
'SOAP-ENC:arrayType',
'wsdl:arrayType'=>
'xsd:int[]')),
126 $this->server->wsdl->addComplexType(
'stringArray',
132 array(array(
'ref'=>
'SOAP-ENC:arrayType',
'wsdl:arrayType'=>
'xsd:string[]')),
136 $this->server->register(
'isValidSession',
137 array(
'ext_uid' =>
'xsd:string',
138 'soap_pw' =>
'xsd:string',
139 'new_user' =>
'xsd:boolean'),
140 array(
'valid' =>
'xsd:boolean',
141 'firstname' =>
'xsd:string',
142 'lastname' =>
'xsd:string',
143 'email' =>
'xsd:string'),
145 SERVICE_NAMESPACE.
'#isValidSession',
148 'Dummy Session Validation');