Fix: Web service call

This commit is contained in:
Laurent Destailleur 2011-01-22 09:42:08 +00:00
parent 462fddd63a
commit ed5f26ac02
4 changed files with 5 additions and 5 deletions

View File

@ -59,8 +59,8 @@ else
"vatNumber" => $vatNumber);
// Set the WebService URL
dol_syslog("Create soapclient_nusoap for URL=".$WS_DOL_URL);
$soapclient = new soapclient_nusoap($WS_DOL_URL.'?wsdl',true);
dol_syslog("Create nusoap_client for URL=".$WS_DOL_URL);
$soapclient = new nusoap_client($WS_DOL_URL.'?wsdl',true);
// Check for an error
$err = $soapclient->getError();

View File

@ -34,7 +34,7 @@ $WS_METHOD2 = 'getInvoicesForThirdParty';
// Set the WebService URL
dol_syslog("Create soapclient_nusoap for URL=".$WS_DOL_URL);
dol_syslog("Create nusoap_client for URL=".$WS_DOL_URL);
$soapclient1 = new nusoap_client($WS_DOL_URL);
if ($soapclient1)
{

View File

@ -33,7 +33,7 @@ $WS_METHOD = 'getVersions';
// Set the WebService URL
dol_syslog("Create soapclient_nusoap for URL=".$WS_DOL_URL);
dol_syslog("Create nusoap_client for URL=".$WS_DOL_URL);
$soapclient = new nusoap_client($WS_DOL_URL);
if ($soapclient)
{

View File

@ -33,7 +33,7 @@ $WS_METHOD = 'getThirdParty';
// Set the WebService URL
dol_syslog("Create soapclient_nusoap for URL=".$WS_DOL_URL);
dol_syslog("Create nusoap_client for URL=".$WS_DOL_URL);
$soapclient = new nusoap_client($WS_DOL_URL);
if ($soapclient)
{