25 define(
'DEFAULT_TIMEOUT',5);
27 define(
'DEFAULT_RESPONSE_TIMEOUT',30);
29 include_once
'./webservice/soap/lib/nusoap.php';
64 return $this->server = $a_server;
67 if(strlen(trim($ilSetting->get(
'soap_wsdl_path'))))
69 return $this->server = trim($ilSetting->get(
'soap_wsdl_path'));
74 $this->server = ILIAS_HTTP_PATH.
'/webservice/soap/server.php?wsdl';
84 $this->timeout = $a_timeout;
93 $this->response_timeout = $a_timeout;
102 $this->use_wsdl = (bool) $a_status;
120 if($error = $this->client->getError())
122 $this->log->write(
'Error calling soap server: '.$this->
getServer().
' Error: '.$error);
128 function &
call($a_operation,$a_params)
130 $res = $this->client->call($a_operation,$a_params);
131 if($error = $this->client->getError())
133 $this->log->write(
'Error calling soap server: '.$this->
getServer().
' Error: '.$error);