Is using PHP NuSOAP a bad idea?

I read somewhere here in stackoverflow that using NuSoap is not a good idea and its dead. If so, what is the best possible solution for creating WSDL files. I was just nusoap only for creating wsdl files and I never got webservice work

+3
source share
4 answers

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.

+3
+1

Nusoap php 5.2.5. . .

+1

, MacMan, php 5.2.17, , , ​​PHP SOAP, .

0

All Articles