ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct ($a_uri='') | |
getServer () | |
Get server uri. More... | |
setTimeout ($a_timeout) | |
Set connect timeout. More... | |
getTimeout () | |
Get connect timeout. More... | |
setResponseTimeout ($a_timeout) | |
Set response timeout. More... | |
getResponseTimeout () | |
Get response timeout. More... | |
enableWSDL ($a_stat) | |
enable wsdl mode More... | |
enabledWSDL () | |
Check if wsdl is enabled. More... | |
init () | |
Init soap client. More... | |
call ($a_operation, $a_params) | |
Call webservice method. More... | |
Data Fields | |
const | DEFAULT_CONNECT_TIMEOUT = 10 |
const | DEFAULT_RESPONSE_TIMEOUT = 5 |
Protected Member Functions | |
setSocketTimeout ($a_wsdl_mode) | |
Set socket timeout. More... | |
resetSocketTimeout () | |
Reset socket default timeout to defaults. More... | |
Private Attributes | |
$log = null | |
$client = null | |
$uri | |
$connect_timeout = 10 | |
$response_timeout = 10 | |
$stored_socket_timeout = null | |
Definition at line 14 of file class.ilSoapClient.php.
ilSoapClient::__construct | ( | $a_uri = '' | ) |
string | $a_uri |
Definition at line 40 of file class.ilSoapClient.php.
References $ilSetting, and ilLoggerFactory\getLogger().
ilSoapClient::call | ( | $a_operation, | |
$a_params | |||
) |
Call webservice method.
string | $a_operation | |
array | $a_params |
Definition at line 206 of file class.ilSoapClient.php.
References resetSocketTimeout(), and setSocketTimeout().
ilSoapClient::enabledWSDL | ( | ) |
ilSoapClient::enableWSDL | ( | $a_stat | ) |
ilSoapClient::getResponseTimeout | ( | ) |
Get response timeout.
Definition at line 98 of file class.ilSoapClient.php.
References $response_timeout.
Referenced by init(), and setSocketTimeout().
ilSoapClient::getServer | ( | ) |
Get server uri.
Definition at line 63 of file class.ilSoapClient.php.
References $uri.
Referenced by init().
ilSoapClient::getTimeout | ( | ) |
Get connect timeout.
Definition at line 81 of file class.ilSoapClient.php.
References $connect_timeout.
Referenced by init(), and setSocketTimeout().
ilSoapClient::init | ( | ) |
Init soap client.
Definition at line 125 of file class.ilSoapClient.php.
References $ilSetting, ilUtil\_getHttpPath(), array, getResponseTimeout(), getServer(), getTimeout(), resetSocketTimeout(), and setSocketTimeout().
|
protected |
Reset socket default timeout to defaults.
Definition at line 194 of file class.ilSoapClient.php.
Referenced by call(), and init().
ilSoapClient::setResponseTimeout | ( | $a_timeout | ) |
Set response timeout.
type | $a_timeout |
Definition at line 90 of file class.ilSoapClient.php.
|
protected |
Set socket timeout.
Definition at line 172 of file class.ilSoapClient.php.
References getResponseTimeout(), and getTimeout().
Referenced by call(), and init().
ilSoapClient::setTimeout | ( | $a_timeout | ) |
|
private |
Definition at line 27 of file class.ilSoapClient.php.
|
private |
Definition at line 31 of file class.ilSoapClient.php.
Referenced by getTimeout().
|
private |
Definition at line 22 of file class.ilSoapClient.php.
|
private |
Definition at line 32 of file class.ilSoapClient.php.
Referenced by getResponseTimeout().
|
private |
Definition at line 34 of file class.ilSoapClient.php.
|
private |
Definition at line 29 of file class.ilSoapClient.php.
Referenced by getServer().
const ilSoapClient::DEFAULT_CONNECT_TIMEOUT = 10 |
Definition at line 16 of file class.ilSoapClient.php.
Referenced by ilObjSystemFolderGUI\initWebServicesForm().
const ilSoapClient::DEFAULT_RESPONSE_TIMEOUT = 5 |
Definition at line 17 of file class.ilSoapClient.php.