Skip to content
Snippets Groups Projects
Commit 0b74a452 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Web service call

parent 8832661a
Branches
Tags
No related merge requests found
...@@ -59,8 +59,8 @@ else ...@@ -59,8 +59,8 @@ else
"vatNumber" => $vatNumber); "vatNumber" => $vatNumber);
// Set the WebService URL // 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 soapclient_nusoap($WS_DOL_URL.'?wsdl',true); $soapclient = new nusoap_client($WS_DOL_URL.'?wsdl',true);
// Check for an error // Check for an error
$err = $soapclient->getError(); $err = $soapclient->getError();
......
...@@ -34,7 +34,7 @@ $WS_METHOD2 = 'getInvoicesForThirdParty'; ...@@ -34,7 +34,7 @@ $WS_METHOD2 = 'getInvoicesForThirdParty';
// Set the WebService URL // 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); $soapclient1 = new nusoap_client($WS_DOL_URL);
if ($soapclient1) if ($soapclient1)
{ {
......
...@@ -33,7 +33,7 @@ $WS_METHOD = 'getVersions'; ...@@ -33,7 +33,7 @@ $WS_METHOD = 'getVersions';
// Set the WebService URL // 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); $soapclient = new nusoap_client($WS_DOL_URL);
if ($soapclient) if ($soapclient)
{ {
......
...@@ -33,7 +33,7 @@ $WS_METHOD = 'getThirdParty'; ...@@ -33,7 +33,7 @@ $WS_METHOD = 'getThirdParty';
// Set the WebService URL // 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); $soapclient = new nusoap_client($WS_DOL_URL);
if ($soapclient) if ($soapclient)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment