Generating WSDL when using PHP's native SOAP class?

前端 未结 4 1782
不知归路
不知归路 2020-12-30 03:17

I\'m using the native SOAP class in PHP 5, having changed from NuSOAP as the native class is faster (and NuSOAP development seems to have ceased). However the PHP 5 SOAP lac

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-30 03:41

    Zend_Soap_AutoDiscover is a good alternative to NuSOAP. But, you can also create the WSDL file from scratch which can be very complicated and error prone. To ease this process, you can use an IDE to generate the WSDL file for your PHP functions and pass it as a parameter to your PHP SoapServer class. Check out the complete tutorial on How to generate wsdl for php native soap class

提交回复
热议问题