14 define (
"ILIAS_MODULE",
"webservice/soap");
15 define (
"IL_SOAPMODE_NUSOAP", 0);
16 define (
"IL_SOAPMODE_INTERNAL", 1);
21 include_once
"Services/Context/classes/class.ilContext.php";
24 require_once(
"./Services/Init/classes/class.ilIniFile.php");
28 if ((
bool)
$ilIliasIniFile->readVariable(
'https',
'auto_https_detect_enabled'))
30 $headerName =
$ilIliasIniFile->readVariable(
'https',
'auto_https_detect_header_name');
31 $headerValue =
$ilIliasIniFile->readVariable(
'https',
'auto_https_detect_header_value');
33 $headerName =
"HTTP_".str_replace(
"-",
"_", strtoupper($headerName));
34 if (strcasecmp(
$_SERVER[$headerName], $headerValue) == 0)
44 include_once(
'webservice/soap/include/inc.soap_functions.php');
46 $soapServer->setClass(
"ilSoapFunctions");
47 $soapServer->handle();
51 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.