mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Reduce timeout on Soap and corrected error message.
This commit is contained in:
@@ -561,18 +561,20 @@ class e_marketplace_adapter_wsdl extends e_marketplace_adapter_abstract
|
||||
'exception' => true,
|
||||
"uri" => "http://server.soap.e107.inc.com/",
|
||||
'cache_wsdl' => WSDL_CACHE_NONE,
|
||||
'connection_timeout' => 60,
|
||||
'connection_timeout' => 7,
|
||||
);
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
//libxml_disable_entity_loader(false);
|
||||
$this->client = new SoapClient($this->serviceUrl, $options);
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
e107::getMessage()->addError(TPVLAN_90);
|
||||
e107::getMessage()->addDebug($e->getMessage());
|
||||
$message = deftrue('LAN_ERROR_CONNECTION', "Unable to connect for updates. Please check firewall and/or internet connection.");
|
||||
e107::getMessage()->addInfo($message);
|
||||
e107::getMessage()->addDebug($e->getMessage());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user