NuSOAP is no longer being developed and not for some time.
I looked at most of the current PHP Soap options and set it to Zend_Soap_Server, in particular because of its AutoDiscovery .
The key thing about AutoDiscovery is that WSDL is generated from the doc blocks in your code. Therefore, while you are executing the correct agreements, the component will create a well-formed WSDL for you.
, Server.php, AutoDiscover.php Wsdl.php. :
require_once 'Zend/Loader.php';
require_once "Zend/Loader/Autoloader.php";
$autoloader = Zend_Loader_Autoloader::getInstance();
Zend_Loader::loadClass('Zend_Soap_Server');
Zend_Loader::loadClass('Zend_Soap_AutoDiscover');
Zend_Loader::loadClass('Zend_Soap_Wsdl');
, AutoDiscovery SOAP, WSDL. WSDL, SOAP-, , , PHP ( WSDL). , Zend Soap Server, IMO.