Fix: Web service call
This commit is contained in:
parent
462fddd63a
commit
ed5f26ac02
@ -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';
|
|||||||
|
|
||||||
|
|
||||||
// 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';
|
|||||||
|
|
||||||
|
|
||||||
// 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';
|
|||||||
|
|
||||||
|
|
||||||
// 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)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user