mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix : Cannot redeclare class SoapClient
This commit is contained in:
parent
8f171f4336
commit
f21aed7f61
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';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user