forked from Wavyzz/dolibarr
fix : Cannot redeclare class SoapClient
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -59,8 +59,8 @@ else
|
||||
"vatNumber" => $vatNumber);
|
||||
|
||||
// Set the WebService URL
|
||||
dol_syslog("Create nusoap_client for URL=".$WS_DOL_URL);
|
||||
$soapclient = new nusoap_client($WS_DOL_URL);
|
||||
dol_syslog("Create soapclient_nusoap for URL=".$WS_DOL_URL);
|
||||
$soapclient = new soapclient_nusoap($WS_DOL_URL);
|
||||
|
||||
// Call the WebService and store its result in $result.
|
||||
dol_syslog("Call method ".$WS_METHOD);
|
||||
|
||||
@@ -35,8 +35,8 @@ $WS_METHOD = 'getVersions';
|
||||
$parameters = array("param1"=>"value1");
|
||||
|
||||
// Set the WebService URL
|
||||
dol_syslog("Create nusoap_client for URL=".$WS_DOL_URL);
|
||||
$soapclient = new nusoap_client($WS_DOL_URL);
|
||||
dol_syslog("Create soapclient_nusoap for URL=".$WS_DOL_URL);
|
||||
$soapclient = new soapclient_nusoap($WS_DOL_URL);
|
||||
if ($soapclient)
|
||||
{
|
||||
$soapclient->soap_defencoding='UTF-8';
|
||||
|
||||
Reference in New Issue
Block a user