34 include_once
'./webservice/soap/lib/nusoap.php';
58 $ret[
"valid"] =
false;
75 define(
'SERVICE_NAME',
'ILIAS SOAP Dummy Authentication Server');
76 define(
'SERVICE_NAMESPACE',
'urn:ilSoapDummyAuthServer');
77 define(
'SERVICE_STYLE',
'rpc');
78 define(
'SERVICE_USE',
'encoded');
91 $postdata = file_get_contents(
"php://input");
92 $this->server->service($postdata);
99 $this->server->configureWSDL(SERVICE_NAME, SERVICE_NAMESPACE);
109 $this->server->wsdl->addComplexType(
116 array(array(
'ref' =>
'SOAP-ENC:arrayType',
'wsdl:arrayType' =>
'xsd:int[]')),
121 $this->server->wsdl->addComplexType(
128 array(array(
'ref' =>
'SOAP-ENC:arrayType',
'wsdl:arrayType' =>
'xsd:string[]')),
133 $this->server->register(
135 array(
'ext_uid' =>
'xsd:string',
136 'soap_pw' =>
'xsd:string',
137 'new_user' =>
'xsd:boolean'),
138 array(
'valid' =>
'xsd:boolean',
139 'firstname' =>
'xsd:string',
140 'lastname' =>
'xsd:string',
141 'email' =>
'xsd:string'),
143 SERVICE_NAMESPACE .
'#isValidSession',
146 'Dummy Session Validation' soap_server allows the user to create a SOAP server that is capable of receiving messages and returni...
__construct($a_use_wsdl=true)
isValidSession($ext_uid, $soap_pw, $new_user)
isValidSession