36 : SessionValidationResult {
37 $service_namespace = $this->namespace !== '' ? $this->namespace : $this->location;
38
39 $soap_client = new \SoapClient(null, [
40 'location' => $this->location,
41 'uri' => $service_namespace,
44 'style' => SOAP_RPC,
45 'use' => SOAP_ENCODED,
46 ]);
47
48 $call_options = ['uri' => $service_namespace];
49 if ($this->use_dotnet) {
50 $call_options['soapaction'] = $service_namespace . '/isValidSession';
51 }
52
53 $valid = $soap_client->__soapCall(
54 'isValidSession',
56 $call_options
57 );
58
59 return new SessionValidationResult(
61 (string) $soap_client->__getLastRequest(),
62 (string) $soap_client->__getLastResponse(),
63 );
64 }
normalizeValidationResult(mixed $valid)
buildCallParameters(string $ext_uid, string $soap_pw, bool $new_user)
Mirrors legacy nusoap_client::call() parameter naming (ns1: prefix in .NET mode).
if(!file_exists('../ilias.ini.php'))