mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: Works with new nusoap lib
This commit is contained in:
parent
a52e5888d0
commit
1889059dea
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user