Prepare wsdl locally

This commit is contained in:
Michael RICOIS 2017-12-11 15:18:58 +01:00
parent af269cc4b2
commit 1a50acf40a
2 changed files with 2 additions and 1 deletions

View File

@ -382,13 +382,14 @@ class Parcel {
'exp_phone' => Configuration::get('LAPOSTEWS_EXP_PHONE'), 'exp_phone' => Configuration::get('LAPOSTEWS_EXP_PHONE'),
); );
$c = false;
try { try {
$c = new SoapClient( $c = new SoapClient(
'https://ws.colissimo.fr/sls-ws/SlsServiceWS?wsdl', 'https://ws.colissimo.fr/sls-ws/SlsServiceWS?wsdl',
array( array(
'trace' => 0, 'trace' => 0,
'exceptions' => 1, 'exceptions' => 1,
'cache_wsdl' => 0? WSDL_CACHE_MEMORY: WSDL_CACHE_NONE, 'cache_wsdl' => 0 ? WSDL_CACHE_MEMORY: WSDL_CACHE_NONE,
) )
); );
} catch (Exception $e) {} } catch (Exception $e) {}