案例:天气预报的接口调用

网上免费的webService接口网址:http://www.webxml.com.cn/zh_cn/index.aspx 一、经过http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl获取天气预报的wsdl的文档,并保存到本地。 二、经过cmd命令,在项目src目录下,执行wsimport -keep url命令。 三、刷新项目生成以下代码
相关文章
相关标签/搜索