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

Fix: Works with new nusoap lib

parent a52e5888
Branches
Tags
No related merge requests found
......@@ -35,12 +35,12 @@ $WS_METHOD2 = 'getInvoicesForThirdParty';
// Set the WebService URL
dol_syslog("Create soapclient_nusoap for URL=".$WS_DOL_URL);
$soapclient1 = new soapclient_nusoap($WS_DOL_URL);
$soapclient1 = new nusoap_client($WS_DOL_URL);
if ($soapclient1)
{
$soapclient1->soap_defencoding='UTF-8';
}
$soapclient2 = new soapclient_nusoap($WS_DOL_URL);
$soapclient2 = new nusoap_client($WS_DOL_URL);
if ($soapclient2)
{
$soapclient2->soap_defencoding='UTF-8';
......
......@@ -34,7 +34,7 @@ $WS_METHOD = 'getVersions';
// Set the WebService URL
dol_syslog("Create soapclient_nusoap for URL=".$WS_DOL_URL);
$soapclient = new soapclient_nusoap($WS_DOL_URL);
$soapclient = new nusoap_client($WS_DOL_URL);
if ($soapclient)
{
$soapclient->soap_defencoding='UTF-8';
......
......@@ -34,7 +34,7 @@ $WS_METHOD = 'getThirdParty';
// Set the WebService URL
dol_syslog("Create soapclient_nusoap for URL=".$WS_DOL_URL);
$soapclient = new soapclient_nusoap($WS_DOL_URL);
$soapclient = new nusoap_client($WS_DOL_URL);
if ($soapclient)
{
$soapclient->soap_defencoding='UTF-8';
......
......@@ -44,7 +44,7 @@ if (empty($conf->global->MAIN_MODULE_WEBSERVICES))
}
// Create the soap Object
$server = new soap_server();
$server = new nusoap_server();
$server->soap_defencoding='UTF-8';
$ns='http://www.dolibarr.org/ns';
$server->configureWSDL('WebServicesDolibarrInvoice',$ns);
......
......@@ -44,7 +44,7 @@ if (empty($conf->global->MAIN_MODULE_WEBSERVICES))
}
// Create the soap Object
$server = new soap_server();
$server = new nusoap_server();
$server->soap_defencoding='UTF-8';
$ns='http://www.dolibarr.org/ns';
$server->configureWSDL('WebServicesDolibarrOther',$ns);
......
......@@ -44,7 +44,7 @@ if (empty($conf->global->MAIN_MODULE_WEBSERVICES))
}
// Create the soap Object
$server = new soap_server();
$server = new nusoap_server();
$server->soap_defencoding='UTF-8';
$ns='http://www.dolibarr.org/ns';
$server->configureWSDL('WebServicesDolibarrThirdParty',$ns);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment