25define(
'DEFAULT_TIMEOUT',5);
 
   27define(
'DEFAULT_RESPONSE_TIMEOUT',30);
 
   29include_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'));
 
   72                $this->
setTimeout($ilSetting->get(
'soap_connect_timeout', self::DEFAULT_CONNECT_TIMEOUT));
 
   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                        if(stristr($error, 
'socket read of headers') === FALSE)
 
  124                                $this->log->write(
'Error calling soap server: '.$this->
getServer().
' Error: '.$error);
 
  131        function &
call($a_operation,$a_params)
 
  133                $res = $this->client->call($a_operation,$a_params);
 
  135                #$GLOBALS['ilLog']->write(__METHOD__.': '.$this->client->request); 
  136                #$GLOBALS['ilLog']->write(__METHOD__.': '.$this->client->response); 
  138                if($error = $this->client->getError())
 
  140                        if(stristr($error, 
'socket read of headers') === FALSE)
 
  142                                $this->log->write(
'Error calling soap server: '.$this->
getServer().
' Error: '.$error);
 
ilSoapClient($a_server='')
const DEFAULT_CONNECT_TIMEOUT
setResponseTimeout($a_timeout)
& call($a_operation, $a_params)
const DEFAULT_RESPONSE_TIMEOUT
[nu]soapclient higher level class for easy usage.