33 define(
'DEFAULT_TIMEOUT',5);
34 define(
'DEFAULT_RESPONSE_TIMEOUT',30);
36 include_once
'./webservice/soap/lib/nusoap.php';
59 return $this->server = $a_server;
62 if(strlen(trim($ilSetting->get(
'soap_wsdl_path'))))
64 return $this->server = trim($ilSetting->get(
'soap_wsdl_path'));
67 $this->server = ILIAS_HTTP_PATH.
'/webservice/soap/server.php?wsdl';
77 $this->timeout = $a_timeout;
86 $this->response_timeout = $a_timeout;
95 $this->use_wsdl = (bool) $a_status;
113 if($error = $this->client->getError())
115 $this->log->write(
'Error calling soap server: '.$this->
getServer().
' Error: '.$error);
121 function &
call($a_operation,$a_params)
123 $res = $this->client->call($a_operation,$a_params);
124 if($error = $this->client->getError())
126 $this->log->write(
'Error calling soap server: '.$this->
getServer().
' Error: '.$error);