WebService服务的三种途径Endpoint Disco WSDL 有什么不同?

newcomer1983 2011-08-06 09:20:57
最近在学习web service ,一个网站上的天气预报有3种使用链接,这3种方式有什么区别?

Endpoint: http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx
Disco: http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx?disco
WSDL: http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl
...全文
365 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
leishaolin 2011-08-10
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 xiaopo_poxiao 的回复:]

Endpoint: http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx
web服务的URI地址,你访问之后,就会出现web服务的相关类描述、方法列表以及方法描述。
Disco: http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx?disco
通过这……
[/Quote]
十分感谢!
寒沙胜雪 2011-08-07
  • 打赏
  • 举报
回复
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。

8,906

社区成员

发帖
与我相关
我的任务
社区描述
XML/XSL相关问题讨论专区
社区管理员
  • XML/XSL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧