diff --git a/htdocs/webservices/demo_wsclient_invoice.php b/htdocs/webservices/demo_wsclient_invoice.php
index f23c3db8fb5d6a49fbf9be86a970c89703c5f151..7eb24691ce544dc6e2e991a4964085caa0eb7bff 100755
--- a/htdocs/webservices/demo_wsclient_invoice.php
+++ b/htdocs/webservices/demo_wsclient_invoice.php
@@ -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';
diff --git a/htdocs/webservices/demo_wsclient_other.php b/htdocs/webservices/demo_wsclient_other.php
index deb7c5c09d0ff5f5862f00798c047e0433dae430..bd214695fd4538436c4cff8aa4375f521d4b49d3 100755
--- a/htdocs/webservices/demo_wsclient_other.php
+++ b/htdocs/webservices/demo_wsclient_other.php
@@ -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';
diff --git a/htdocs/webservices/demo_wsclient_thirdparty.php b/htdocs/webservices/demo_wsclient_thirdparty.php
index 4ee540b19168f03622de331940ece8daf5606e79..3846023e42412eb43d8319c8b96f08a384eaeb6e 100755
--- a/htdocs/webservices/demo_wsclient_thirdparty.php
+++ b/htdocs/webservices/demo_wsclient_thirdparty.php
@@ -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';
diff --git a/htdocs/webservices/server_invoice.php b/htdocs/webservices/server_invoice.php
index f4bbe9b08b712213ef2f06482ca524c2291a9252..c8c010ce8af6d7aa7eb76a46373ce519141c28b7 100755
--- a/htdocs/webservices/server_invoice.php
+++ b/htdocs/webservices/server_invoice.php
@@ -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);
diff --git a/htdocs/webservices/server_other.php b/htdocs/webservices/server_other.php
index d01643ee1dbf6147d0cf6e263aac7981c1eb8e45..a2057a5b51a6e188b510ed5d523029505725f0aa 100644
--- a/htdocs/webservices/server_other.php
+++ b/htdocs/webservices/server_other.php
@@ -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);
diff --git a/htdocs/webservices/server_thirdparty.php b/htdocs/webservices/server_thirdparty.php
index d642690fd1d6849d77e91a08602f20a1a03e76f4..e13bd79a7c113f434aaa3ca21991d9056cf024bd 100755
--- a/htdocs/webservices/server_thirdparty.php
+++ b/htdocs/webservices/server_thirdparty.php
@@ -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);