PHP-WebService中Endpoint、Disco、WSDL都是做什么的?

Endpoint: http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx  
web服务的URI地址,你访问之后,就会出现web服务的相关类描述、方法列表以及方法描述。 

Disco: http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx?disco
通过这个可以找到该web服务。即利用了web服务发现机制中的一种发现机制disco。

WSDL: http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl
该web服务的描述性语言。即Web Services Description Language。用来描述你的web服务定义的方法和属性、binding协议部分、port端口以及服务URI。

附录:

  PHP搭建WebService:http://www.cnblogs.com/JohnABC/p/3552308.html

原文地址:https://www.cnblogs.com/JohnABC/p/5391806.html