2
0
forked from Wavyzz/dolibarr

fix : Cannot redeclare class SoapClient

This commit is contained in:
Philippe Grand
2010-04-13 14:06:09 +00:00
parent 8f171f4336
commit f21aed7f61
5 changed files with 9475 additions and 9475 deletions

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

View File

@@ -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);

View File

@@ -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';