Prepare wsdl locally
This commit is contained in:
parent
af269cc4b2
commit
1a50acf40a
@ -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) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user