35 define (
"ILIAS_MODULE",
"webservice/soap");
36 define (
"IL_SOAPMODE_NUSOAP", 0);
37 define (
"IL_SOAPMODE_INTERNAL", 1);
39 require_once(
"./Services/Init/classes/class.ilIniFile.php");
52 include_once
"Services/Context/classes/class.ilContext.php";
55 if ((
bool)
$ilIliasIniFile->readVariable(
'https',
'auto_https_detect_enabled')) {
56 $headerName =
$ilIliasIniFile->readVariable(
'https',
'auto_https_detect_header_name');
57 $headerValue =
$ilIliasIniFile->readVariable(
'https',
'auto_https_detect_header_value');
59 $headerName =
"HTTP_".str_replace(
"-",
"_", strtoupper($headerName));
60 if (strcasecmp(
$_SERVER[$headerName], $headerValue) == 0) {
69 include_once(
'webservice/soap/include/inc.soap_functions.php');
71 $soapServer->setClass(
"ilSoapFunctions");
72 $soapServer->handle();
74 include (
'webservice/soap/nusoapserver.php');
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
static buildHTTPPath()
builds http path if no client is available
const IL_SOAPMODE_INTERNAL
static init($a_type)
Init context by type.