WeatherWebService.wsdl 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://WebXml.com.cn/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://WebXml.com.cn/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  3. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;a href="http://www.webxml.com.cn/" target="_blank"&gt;WebXml.com.cn&lt;/a&gt; &lt;strong&gt;天气预报 Web 服务,数据每2.5小时左右自动更新一次,准确可靠。包括 340 多个中国主要城市和 60 多个国外主要城市三日内的天气预报数据。&lt;/br&gt;此天气预报Web Services请不要用于任何商业目的,若有需要请&lt;a href="http://www.webxml.com.cn/zh_cn/contact_us.aspx" target="_blank"&gt;联系我们&lt;/a&gt;,欢迎技术交流。 QQ:8409035&lt;br /&gt;使用本站 WEB 服务请注明或链接本站:http://www.webxml.com.cn/ 感谢大家的支持&lt;/strong&gt;!&lt;br /&gt;&lt;span style="color:#999999;"&gt;通知:天气预报 WEB 服务如原来使用地址 http://www.onhap.com/WebServices/WeatherWebService.asmx 的,请改成现在使用的服务地址 http://www.webxml.com.cn/WebServices/WeatherWebService.asmx ,重新引用即可。&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;</wsdl:documentation>
  4. <wsdl:types>
  5. <s:schema elementFormDefault="qualified" targetNamespace="http://WebXml.com.cn/">
  6. <s:element name="getSupportCity">
  7. <s:complexType>
  8. <s:sequence>
  9. <s:element minOccurs="0" maxOccurs="1" name="byProvinceName" type="s:string" />
  10. </s:sequence>
  11. </s:complexType>
  12. </s:element>
  13. <s:element name="getSupportCityResponse">
  14. <s:complexType>
  15. <s:sequence>
  16. <s:element minOccurs="0" maxOccurs="1" name="getSupportCityResult" type="tns:ArrayOfString" />
  17. </s:sequence>
  18. </s:complexType>
  19. </s:element>
  20. <s:complexType name="ArrayOfString">
  21. <s:sequence>
  22. <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
  23. </s:sequence>
  24. </s:complexType>
  25. <s:element name="getSupportProvince">
  26. <s:complexType />
  27. </s:element>
  28. <s:element name="getSupportProvinceResponse">
  29. <s:complexType>
  30. <s:sequence>
  31. <s:element minOccurs="0" maxOccurs="1" name="getSupportProvinceResult" type="tns:ArrayOfString" />
  32. </s:sequence>
  33. </s:complexType>
  34. </s:element>
  35. <s:element name="getSupportDataSet">
  36. <s:complexType />
  37. </s:element>
  38. <s:element name="getSupportDataSetResponse">
  39. <s:complexType>
  40. <s:sequence>
  41. <s:element minOccurs="0" maxOccurs="1" name="getSupportDataSetResult">
  42. <s:complexType>
  43. <s:sequence>
  44. <s:element ref="s:schema" />
  45. <s:any />
  46. </s:sequence>
  47. </s:complexType>
  48. </s:element>
  49. </s:sequence>
  50. </s:complexType>
  51. </s:element>
  52. <s:element name="getWeatherbyCityName">
  53. <s:complexType>
  54. <s:sequence>
  55. <s:element minOccurs="0" maxOccurs="1" name="theCityName" type="s:string" />
  56. </s:sequence>
  57. </s:complexType>
  58. </s:element>
  59. <s:element name="getWeatherbyCityNameResponse">
  60. <s:complexType>
  61. <s:sequence>
  62. <s:element minOccurs="0" maxOccurs="1" name="getWeatherbyCityNameResult" type="tns:ArrayOfString" />
  63. </s:sequence>
  64. </s:complexType>
  65. </s:element>
  66. <s:element name="getWeatherbyCityNamePro">
  67. <s:complexType>
  68. <s:sequence>
  69. <s:element minOccurs="0" maxOccurs="1" name="theCityName" type="s:string" />
  70. <s:element minOccurs="0" maxOccurs="1" name="theUserID" type="s:string" />
  71. </s:sequence>
  72. </s:complexType>
  73. </s:element>
  74. <s:element name="getWeatherbyCityNameProResponse">
  75. <s:complexType>
  76. <s:sequence>
  77. <s:element minOccurs="0" maxOccurs="1" name="getWeatherbyCityNameProResult" type="tns:ArrayOfString" />
  78. </s:sequence>
  79. </s:complexType>
  80. </s:element>
  81. <s:element name="ArrayOfString" nillable="true" type="tns:ArrayOfString" />
  82. <s:element name="DataSet" nillable="true">
  83. <s:complexType>
  84. <s:sequence>
  85. <s:element ref="s:schema" />
  86. <s:any />
  87. </s:sequence>
  88. </s:complexType>
  89. </s:element>
  90. </s:schema>
  91. </wsdl:types>
  92. <wsdl:message name="getSupportCitySoapIn">
  93. <wsdl:part name="parameters" element="tns:getSupportCity" />
  94. </wsdl:message>
  95. <wsdl:message name="getSupportCitySoapOut">
  96. <wsdl:part name="parameters" element="tns:getSupportCityResponse" />
  97. </wsdl:message>
  98. <wsdl:message name="getSupportProvinceSoapIn">
  99. <wsdl:part name="parameters" element="tns:getSupportProvince" />
  100. </wsdl:message>
  101. <wsdl:message name="getSupportProvinceSoapOut">
  102. <wsdl:part name="parameters" element="tns:getSupportProvinceResponse" />
  103. </wsdl:message>
  104. <wsdl:message name="getSupportDataSetSoapIn">
  105. <wsdl:part name="parameters" element="tns:getSupportDataSet" />
  106. </wsdl:message>
  107. <wsdl:message name="getSupportDataSetSoapOut">
  108. <wsdl:part name="parameters" element="tns:getSupportDataSetResponse" />
  109. </wsdl:message>
  110. <wsdl:message name="getWeatherbyCityNameSoapIn">
  111. <wsdl:part name="parameters" element="tns:getWeatherbyCityName" />
  112. </wsdl:message>
  113. <wsdl:message name="getWeatherbyCityNameSoapOut">
  114. <wsdl:part name="parameters" element="tns:getWeatherbyCityNameResponse" />
  115. </wsdl:message>
  116. <wsdl:message name="getWeatherbyCityNameProSoapIn">
  117. <wsdl:part name="parameters" element="tns:getWeatherbyCityNamePro" />
  118. </wsdl:message>
  119. <wsdl:message name="getWeatherbyCityNameProSoapOut">
  120. <wsdl:part name="parameters" element="tns:getWeatherbyCityNameProResponse" />
  121. </wsdl:message>
  122. <wsdl:message name="getSupportCityHttpGetIn">
  123. <wsdl:part name="byProvinceName" type="s:string" />
  124. </wsdl:message>
  125. <wsdl:message name="getSupportCityHttpGetOut">
  126. <wsdl:part name="Body" element="tns:ArrayOfString" />
  127. </wsdl:message>
  128. <wsdl:message name="getSupportProvinceHttpGetIn" />
  129. <wsdl:message name="getSupportProvinceHttpGetOut">
  130. <wsdl:part name="Body" element="tns:ArrayOfString" />
  131. </wsdl:message>
  132. <wsdl:message name="getSupportDataSetHttpGetIn" />
  133. <wsdl:message name="getSupportDataSetHttpGetOut">
  134. <wsdl:part name="Body" element="tns:DataSet" />
  135. </wsdl:message>
  136. <wsdl:message name="getWeatherbyCityNameHttpGetIn">
  137. <wsdl:part name="theCityName" type="s:string" />
  138. </wsdl:message>
  139. <wsdl:message name="getWeatherbyCityNameHttpGetOut">
  140. <wsdl:part name="Body" element="tns:ArrayOfString" />
  141. </wsdl:message>
  142. <wsdl:message name="getWeatherbyCityNameProHttpGetIn">
  143. <wsdl:part name="theCityName" type="s:string" />
  144. <wsdl:part name="theUserID" type="s:string" />
  145. </wsdl:message>
  146. <wsdl:message name="getWeatherbyCityNameProHttpGetOut">
  147. <wsdl:part name="Body" element="tns:ArrayOfString" />
  148. </wsdl:message>
  149. <wsdl:message name="getSupportCityHttpPostIn">
  150. <wsdl:part name="byProvinceName" type="s:string" />
  151. </wsdl:message>
  152. <wsdl:message name="getSupportCityHttpPostOut">
  153. <wsdl:part name="Body" element="tns:ArrayOfString" />
  154. </wsdl:message>
  155. <wsdl:message name="getSupportProvinceHttpPostIn" />
  156. <wsdl:message name="getSupportProvinceHttpPostOut">
  157. <wsdl:part name="Body" element="tns:ArrayOfString" />
  158. </wsdl:message>
  159. <wsdl:message name="getSupportDataSetHttpPostIn" />
  160. <wsdl:message name="getSupportDataSetHttpPostOut">
  161. <wsdl:part name="Body" element="tns:DataSet" />
  162. </wsdl:message>
  163. <wsdl:message name="getWeatherbyCityNameHttpPostIn">
  164. <wsdl:part name="theCityName" type="s:string" />
  165. </wsdl:message>
  166. <wsdl:message name="getWeatherbyCityNameHttpPostOut">
  167. <wsdl:part name="Body" element="tns:ArrayOfString" />
  168. </wsdl:message>
  169. <wsdl:message name="getWeatherbyCityNameProHttpPostIn">
  170. <wsdl:part name="theCityName" type="s:string" />
  171. <wsdl:part name="theUserID" type="s:string" />
  172. </wsdl:message>
  173. <wsdl:message name="getWeatherbyCityNameProHttpPostOut">
  174. <wsdl:part name="Body" element="tns:ArrayOfString" />
  175. </wsdl:message>
  176. <wsdl:portType name="WeatherWebServiceSoap">
  177. <wsdl:operation name="getSupportCity">
  178. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br /&gt;&lt;h3&gt;查询本天气预报Web Services支持的国内外城市或地区信息&lt;/h3&gt;&lt;p&gt;输入参数:byProvinceName = 指定的洲或国内的省份,若为ALL或空则表示返回全部城市;返回数据:一个一维字符串数组 String(),结构为:城市名称(城市代码)。&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  179. <wsdl:input message="tns:getSupportCitySoapIn" />
  180. <wsdl:output message="tns:getSupportCitySoapOut" />
  181. </wsdl:operation>
  182. <wsdl:operation name="getSupportProvince">
  183. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br /&gt;&lt;h3&gt;获得本天气预报Web Services支持的洲、国内外省份和城市信息&lt;/h3&gt;&lt;p&gt;输入参数:无; 返回数据:一个一维字符串数组 String(),内容为洲或国内省份的名称。&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  184. <wsdl:input message="tns:getSupportProvinceSoapIn" />
  185. <wsdl:output message="tns:getSupportProvinceSoapOut" />
  186. </wsdl:operation>
  187. <wsdl:operation name="getSupportDataSet">
  188. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br&gt;&lt;h3&gt;获得本天气预报Web Services支持的洲、国内外省份和城市信息&lt;/h3&gt;&lt;p&gt;输入参数:无;返回:DataSet 。DataSet.Tables(0) 为支持的洲和国内省份数据,DataSet.Tables(1) 为支持的国内外城市或地区数据。DataSet.Tables(0).Rows(i).Item("ID") 主键对应 DataSet.Tables(1).Rows(i).Item("ZoneID") 外键。&lt;br /&gt;Tables(0):ID = ID主键,Zone = 支持的洲、省份;Tables(1):ID 主键,ZoneID = 对应Tables(0)ID的外键,Area = 城市或地区,AreaCode = 城市或地区代码。&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  189. <wsdl:input message="tns:getSupportDataSetSoapIn" />
  190. <wsdl:output message="tns:getSupportDataSetSoapOut" />
  191. </wsdl:operation>
  192. <wsdl:operation name="getWeatherbyCityName">
  193. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br&gt;&lt;h3&gt;根据城市或地区名称查询获得未来三天内天气情况、现在的天气实况、天气和生活指数&lt;/h3&gt;&lt;p&gt;调用方法如下:输入参数:theCityName = 城市中文名称(国外城市可用英文)或城市代码(不输入默认为上海市),如:上海 或 58367,如有城市名称重复请使用城市代码查询(可通过 getSupportCity 或 getSupportDataSet 获得);返回数据: 一个一维数组 String(22),共有23个元素。&lt;br /&gt;String(0) 到 String(4):省份,城市,城市代码,城市图片名称,最后更新时间。String(5) 到 String(11):当天的 气温,概况,风向和风力,天气趋势开始图片名称(以下称:图标一),天气趋势结束图片名称(以下称:图标二),现在的天气实况,天气和生活指数。String(12) 到 String(16):第二天的 气温,概况,风向和风力,图标一,图标二。String(17) 到 String(21):第三天的 气温,概况,风向和风力,图标一,图标二。String(22) 被查询的城市或地区的介绍 &lt;br /&gt;&lt;a href="http://www.webxml.com.cn/images/weather.zip"&gt;下载天气图标&lt;img src="http://www.webxml.com.cn/images/download_w.gif" border="0" align="absbottom" /&gt;&lt;/a&gt;(包含大、中、小尺寸) &lt;a href="http://www.webxml.com.cn/zh_cn/weather_icon.aspx" target="_blank"&gt;天气图例说明&lt;/a&gt; &lt;a href="http://www.webxml.com.cn/files/weather_eg.zip"&gt;调用此天气预报Web Services实例下载&lt;/a&gt; (VB ASP.net 2.0)&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  194. <wsdl:input message="tns:getWeatherbyCityNameSoapIn" />
  195. <wsdl:output message="tns:getWeatherbyCityNameSoapOut" />
  196. </wsdl:operation>
  197. <wsdl:operation name="getWeatherbyCityNamePro">
  198. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br&gt;&lt;h3&gt;根据城市或地区名称查询获得未来三天内天气情况、现在的天气实况、天气和生活指数(For商业用户)&lt;/h3&gt;&lt;p&gt;调用方法同 getWeatherbyCityName,输入参数:theUserID = 商业用户ID&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  199. <wsdl:input message="tns:getWeatherbyCityNameProSoapIn" />
  200. <wsdl:output message="tns:getWeatherbyCityNameProSoapOut" />
  201. </wsdl:operation>
  202. </wsdl:portType>
  203. <wsdl:portType name="WeatherWebServiceHttpGet">
  204. <wsdl:operation name="getSupportCity">
  205. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br /&gt;&lt;h3&gt;查询本天气预报Web Services支持的国内外城市或地区信息&lt;/h3&gt;&lt;p&gt;输入参数:byProvinceName = 指定的洲或国内的省份,若为ALL或空则表示返回全部城市;返回数据:一个一维字符串数组 String(),结构为:城市名称(城市代码)。&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  206. <wsdl:input message="tns:getSupportCityHttpGetIn" />
  207. <wsdl:output message="tns:getSupportCityHttpGetOut" />
  208. </wsdl:operation>
  209. <wsdl:operation name="getSupportProvince">
  210. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br /&gt;&lt;h3&gt;获得本天气预报Web Services支持的洲、国内外省份和城市信息&lt;/h3&gt;&lt;p&gt;输入参数:无; 返回数据:一个一维字符串数组 String(),内容为洲或国内省份的名称。&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  211. <wsdl:input message="tns:getSupportProvinceHttpGetIn" />
  212. <wsdl:output message="tns:getSupportProvinceHttpGetOut" />
  213. </wsdl:operation>
  214. <wsdl:operation name="getSupportDataSet">
  215. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br&gt;&lt;h3&gt;获得本天气预报Web Services支持的洲、国内外省份和城市信息&lt;/h3&gt;&lt;p&gt;输入参数:无;返回:DataSet 。DataSet.Tables(0) 为支持的洲和国内省份数据,DataSet.Tables(1) 为支持的国内外城市或地区数据。DataSet.Tables(0).Rows(i).Item("ID") 主键对应 DataSet.Tables(1).Rows(i).Item("ZoneID") 外键。&lt;br /&gt;Tables(0):ID = ID主键,Zone = 支持的洲、省份;Tables(1):ID 主键,ZoneID = 对应Tables(0)ID的外键,Area = 城市或地区,AreaCode = 城市或地区代码。&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  216. <wsdl:input message="tns:getSupportDataSetHttpGetIn" />
  217. <wsdl:output message="tns:getSupportDataSetHttpGetOut" />
  218. </wsdl:operation>
  219. <wsdl:operation name="getWeatherbyCityName">
  220. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br&gt;&lt;h3&gt;根据城市或地区名称查询获得未来三天内天气情况、现在的天气实况、天气和生活指数&lt;/h3&gt;&lt;p&gt;调用方法如下:输入参数:theCityName = 城市中文名称(国外城市可用英文)或城市代码(不输入默认为上海市),如:上海 或 58367,如有城市名称重复请使用城市代码查询(可通过 getSupportCity 或 getSupportDataSet 获得);返回数据: 一个一维数组 String(22),共有23个元素。&lt;br /&gt;String(0) 到 String(4):省份,城市,城市代码,城市图片名称,最后更新时间。String(5) 到 String(11):当天的 气温,概况,风向和风力,天气趋势开始图片名称(以下称:图标一),天气趋势结束图片名称(以下称:图标二),现在的天气实况,天气和生活指数。String(12) 到 String(16):第二天的 气温,概况,风向和风力,图标一,图标二。String(17) 到 String(21):第三天的 气温,概况,风向和风力,图标一,图标二。String(22) 被查询的城市或地区的介绍 &lt;br /&gt;&lt;a href="http://www.webxml.com.cn/images/weather.zip"&gt;下载天气图标&lt;img src="http://www.webxml.com.cn/images/download_w.gif" border="0" align="absbottom" /&gt;&lt;/a&gt;(包含大、中、小尺寸) &lt;a href="http://www.webxml.com.cn/zh_cn/weather_icon.aspx" target="_blank"&gt;天气图例说明&lt;/a&gt; &lt;a href="http://www.webxml.com.cn/files/weather_eg.zip"&gt;调用此天气预报Web Services实例下载&lt;/a&gt; (VB ASP.net 2.0)&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  221. <wsdl:input message="tns:getWeatherbyCityNameHttpGetIn" />
  222. <wsdl:output message="tns:getWeatherbyCityNameHttpGetOut" />
  223. </wsdl:operation>
  224. <wsdl:operation name="getWeatherbyCityNamePro">
  225. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br&gt;&lt;h3&gt;根据城市或地区名称查询获得未来三天内天气情况、现在的天气实况、天气和生活指数(For商业用户)&lt;/h3&gt;&lt;p&gt;调用方法同 getWeatherbyCityName,输入参数:theUserID = 商业用户ID&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  226. <wsdl:input message="tns:getWeatherbyCityNameProHttpGetIn" />
  227. <wsdl:output message="tns:getWeatherbyCityNameProHttpGetOut" />
  228. </wsdl:operation>
  229. </wsdl:portType>
  230. <wsdl:portType name="WeatherWebServiceHttpPost">
  231. <wsdl:operation name="getSupportCity">
  232. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br /&gt;&lt;h3&gt;查询本天气预报Web Services支持的国内外城市或地区信息&lt;/h3&gt;&lt;p&gt;输入参数:byProvinceName = 指定的洲或国内的省份,若为ALL或空则表示返回全部城市;返回数据:一个一维字符串数组 String(),结构为:城市名称(城市代码)。&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  233. <wsdl:input message="tns:getSupportCityHttpPostIn" />
  234. <wsdl:output message="tns:getSupportCityHttpPostOut" />
  235. </wsdl:operation>
  236. <wsdl:operation name="getSupportProvince">
  237. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br /&gt;&lt;h3&gt;获得本天气预报Web Services支持的洲、国内外省份和城市信息&lt;/h3&gt;&lt;p&gt;输入参数:无; 返回数据:一个一维字符串数组 String(),内容为洲或国内省份的名称。&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  238. <wsdl:input message="tns:getSupportProvinceHttpPostIn" />
  239. <wsdl:output message="tns:getSupportProvinceHttpPostOut" />
  240. </wsdl:operation>
  241. <wsdl:operation name="getSupportDataSet">
  242. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br&gt;&lt;h3&gt;获得本天气预报Web Services支持的洲、国内外省份和城市信息&lt;/h3&gt;&lt;p&gt;输入参数:无;返回:DataSet 。DataSet.Tables(0) 为支持的洲和国内省份数据,DataSet.Tables(1) 为支持的国内外城市或地区数据。DataSet.Tables(0).Rows(i).Item("ID") 主键对应 DataSet.Tables(1).Rows(i).Item("ZoneID") 外键。&lt;br /&gt;Tables(0):ID = ID主键,Zone = 支持的洲、省份;Tables(1):ID 主键,ZoneID = 对应Tables(0)ID的外键,Area = 城市或地区,AreaCode = 城市或地区代码。&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  243. <wsdl:input message="tns:getSupportDataSetHttpPostIn" />
  244. <wsdl:output message="tns:getSupportDataSetHttpPostOut" />
  245. </wsdl:operation>
  246. <wsdl:operation name="getWeatherbyCityName">
  247. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br&gt;&lt;h3&gt;根据城市或地区名称查询获得未来三天内天气情况、现在的天气实况、天气和生活指数&lt;/h3&gt;&lt;p&gt;调用方法如下:输入参数:theCityName = 城市中文名称(国外城市可用英文)或城市代码(不输入默认为上海市),如:上海 或 58367,如有城市名称重复请使用城市代码查询(可通过 getSupportCity 或 getSupportDataSet 获得);返回数据: 一个一维数组 String(22),共有23个元素。&lt;br /&gt;String(0) 到 String(4):省份,城市,城市代码,城市图片名称,最后更新时间。String(5) 到 String(11):当天的 气温,概况,风向和风力,天气趋势开始图片名称(以下称:图标一),天气趋势结束图片名称(以下称:图标二),现在的天气实况,天气和生活指数。String(12) 到 String(16):第二天的 气温,概况,风向和风力,图标一,图标二。String(17) 到 String(21):第三天的 气温,概况,风向和风力,图标一,图标二。String(22) 被查询的城市或地区的介绍 &lt;br /&gt;&lt;a href="http://www.webxml.com.cn/images/weather.zip"&gt;下载天气图标&lt;img src="http://www.webxml.com.cn/images/download_w.gif" border="0" align="absbottom" /&gt;&lt;/a&gt;(包含大、中、小尺寸) &lt;a href="http://www.webxml.com.cn/zh_cn/weather_icon.aspx" target="_blank"&gt;天气图例说明&lt;/a&gt; &lt;a href="http://www.webxml.com.cn/files/weather_eg.zip"&gt;调用此天气预报Web Services实例下载&lt;/a&gt; (VB ASP.net 2.0)&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  248. <wsdl:input message="tns:getWeatherbyCityNameHttpPostIn" />
  249. <wsdl:output message="tns:getWeatherbyCityNameHttpPostOut" />
  250. </wsdl:operation>
  251. <wsdl:operation name="getWeatherbyCityNamePro">
  252. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;br&gt;&lt;h3&gt;根据城市或地区名称查询获得未来三天内天气情况、现在的天气实况、天气和生活指数(For商业用户)&lt;/h3&gt;&lt;p&gt;调用方法同 getWeatherbyCityName,输入参数:theUserID = 商业用户ID&lt;/p&gt;&lt;br /&gt;</wsdl:documentation>
  253. <wsdl:input message="tns:getWeatherbyCityNameProHttpPostIn" />
  254. <wsdl:output message="tns:getWeatherbyCityNameProHttpPostOut" />
  255. </wsdl:operation>
  256. </wsdl:portType>
  257. <wsdl:binding name="WeatherWebServiceSoap" type="tns:WeatherWebServiceSoap">
  258. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
  259. <wsdl:operation name="getSupportCity">
  260. <soap:operation soapAction="http://WebXml.com.cn/getSupportCity" style="document" />
  261. <wsdl:input>
  262. <soap:body use="literal" />
  263. </wsdl:input>
  264. <wsdl:output>
  265. <soap:body use="literal" />
  266. </wsdl:output>
  267. </wsdl:operation>
  268. <wsdl:operation name="getSupportProvince">
  269. <soap:operation soapAction="http://WebXml.com.cn/getSupportProvince" style="document" />
  270. <wsdl:input>
  271. <soap:body use="literal" />
  272. </wsdl:input>
  273. <wsdl:output>
  274. <soap:body use="literal" />
  275. </wsdl:output>
  276. </wsdl:operation>
  277. <wsdl:operation name="getSupportDataSet">
  278. <soap:operation soapAction="http://WebXml.com.cn/getSupportDataSet" style="document" />
  279. <wsdl:input>
  280. <soap:body use="literal" />
  281. </wsdl:input>
  282. <wsdl:output>
  283. <soap:body use="literal" />
  284. </wsdl:output>
  285. </wsdl:operation>
  286. <wsdl:operation name="getWeatherbyCityName">
  287. <soap:operation soapAction="http://WebXml.com.cn/getWeatherbyCityName" style="document" />
  288. <wsdl:input>
  289. <soap:body use="literal" />
  290. </wsdl:input>
  291. <wsdl:output>
  292. <soap:body use="literal" />
  293. </wsdl:output>
  294. </wsdl:operation>
  295. <wsdl:operation name="getWeatherbyCityNamePro">
  296. <soap:operation soapAction="http://WebXml.com.cn/getWeatherbyCityNamePro" style="document" />
  297. <wsdl:input>
  298. <soap:body use="literal" />
  299. </wsdl:input>
  300. <wsdl:output>
  301. <soap:body use="literal" />
  302. </wsdl:output>
  303. </wsdl:operation>
  304. </wsdl:binding>
  305. <wsdl:binding name="WeatherWebServiceSoap12" type="tns:WeatherWebServiceSoap">
  306. <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
  307. <wsdl:operation name="getSupportCity">
  308. <soap12:operation soapAction="http://WebXml.com.cn/getSupportCity" style="document" />
  309. <wsdl:input>
  310. <soap12:body use="literal" />
  311. </wsdl:input>
  312. <wsdl:output>
  313. <soap12:body use="literal" />
  314. </wsdl:output>
  315. </wsdl:operation>
  316. <wsdl:operation name="getSupportProvince">
  317. <soap12:operation soapAction="http://WebXml.com.cn/getSupportProvince" style="document" />
  318. <wsdl:input>
  319. <soap12:body use="literal" />
  320. </wsdl:input>
  321. <wsdl:output>
  322. <soap12:body use="literal" />
  323. </wsdl:output>
  324. </wsdl:operation>
  325. <wsdl:operation name="getSupportDataSet">
  326. <soap12:operation soapAction="http://WebXml.com.cn/getSupportDataSet" style="document" />
  327. <wsdl:input>
  328. <soap12:body use="literal" />
  329. </wsdl:input>
  330. <wsdl:output>
  331. <soap12:body use="literal" />
  332. </wsdl:output>
  333. </wsdl:operation>
  334. <wsdl:operation name="getWeatherbyCityName">
  335. <soap12:operation soapAction="http://WebXml.com.cn/getWeatherbyCityName" style="document" />
  336. <wsdl:input>
  337. <soap12:body use="literal" />
  338. </wsdl:input>
  339. <wsdl:output>
  340. <soap12:body use="literal" />
  341. </wsdl:output>
  342. </wsdl:operation>
  343. <wsdl:operation name="getWeatherbyCityNamePro">
  344. <soap12:operation soapAction="http://WebXml.com.cn/getWeatherbyCityNamePro" style="document" />
  345. <wsdl:input>
  346. <soap12:body use="literal" />
  347. </wsdl:input>
  348. <wsdl:output>
  349. <soap12:body use="literal" />
  350. </wsdl:output>
  351. </wsdl:operation>
  352. </wsdl:binding>
  353. <wsdl:binding name="WeatherWebServiceHttpGet" type="tns:WeatherWebServiceHttpGet">
  354. <http:binding verb="GET" />
  355. <wsdl:operation name="getSupportCity">
  356. <http:operation location="/getSupportCity" />
  357. <wsdl:input>
  358. <http:urlEncoded />
  359. </wsdl:input>
  360. <wsdl:output>
  361. <mime:mimeXml part="Body" />
  362. </wsdl:output>
  363. </wsdl:operation>
  364. <wsdl:operation name="getSupportProvince">
  365. <http:operation location="/getSupportProvince" />
  366. <wsdl:input>
  367. <http:urlEncoded />
  368. </wsdl:input>
  369. <wsdl:output>
  370. <mime:mimeXml part="Body" />
  371. </wsdl:output>
  372. </wsdl:operation>
  373. <wsdl:operation name="getSupportDataSet">
  374. <http:operation location="/getSupportDataSet" />
  375. <wsdl:input>
  376. <http:urlEncoded />
  377. </wsdl:input>
  378. <wsdl:output>
  379. <mime:mimeXml part="Body" />
  380. </wsdl:output>
  381. </wsdl:operation>
  382. <wsdl:operation name="getWeatherbyCityName">
  383. <http:operation location="/getWeatherbyCityName" />
  384. <wsdl:input>
  385. <http:urlEncoded />
  386. </wsdl:input>
  387. <wsdl:output>
  388. <mime:mimeXml part="Body" />
  389. </wsdl:output>
  390. </wsdl:operation>
  391. <wsdl:operation name="getWeatherbyCityNamePro">
  392. <http:operation location="/getWeatherbyCityNamePro" />
  393. <wsdl:input>
  394. <http:urlEncoded />
  395. </wsdl:input>
  396. <wsdl:output>
  397. <mime:mimeXml part="Body" />
  398. </wsdl:output>
  399. </wsdl:operation>
  400. </wsdl:binding>
  401. <wsdl:binding name="WeatherWebServiceHttpPost" type="tns:WeatherWebServiceHttpPost">
  402. <http:binding verb="POST" />
  403. <wsdl:operation name="getSupportCity">
  404. <http:operation location="/getSupportCity" />
  405. <wsdl:input>
  406. <mime:content type="application/x-www-form-urlencoded" />
  407. </wsdl:input>
  408. <wsdl:output>
  409. <mime:mimeXml part="Body" />
  410. </wsdl:output>
  411. </wsdl:operation>
  412. <wsdl:operation name="getSupportProvince">
  413. <http:operation location="/getSupportProvince" />
  414. <wsdl:input>
  415. <mime:content type="application/x-www-form-urlencoded" />
  416. </wsdl:input>
  417. <wsdl:output>
  418. <mime:mimeXml part="Body" />
  419. </wsdl:output>
  420. </wsdl:operation>
  421. <wsdl:operation name="getSupportDataSet">
  422. <http:operation location="/getSupportDataSet" />
  423. <wsdl:input>
  424. <mime:content type="application/x-www-form-urlencoded" />
  425. </wsdl:input>
  426. <wsdl:output>
  427. <mime:mimeXml part="Body" />
  428. </wsdl:output>
  429. </wsdl:operation>
  430. <wsdl:operation name="getWeatherbyCityName">
  431. <http:operation location="/getWeatherbyCityName" />
  432. <wsdl:input>
  433. <mime:content type="application/x-www-form-urlencoded" />
  434. </wsdl:input>
  435. <wsdl:output>
  436. <mime:mimeXml part="Body" />
  437. </wsdl:output>
  438. </wsdl:operation>
  439. <wsdl:operation name="getWeatherbyCityNamePro">
  440. <http:operation location="/getWeatherbyCityNamePro" />
  441. <wsdl:input>
  442. <mime:content type="application/x-www-form-urlencoded" />
  443. </wsdl:input>
  444. <wsdl:output>
  445. <mime:mimeXml part="Body" />
  446. </wsdl:output>
  447. </wsdl:operation>
  448. </wsdl:binding>
  449. <wsdl:service name="WeatherWebService">
  450. <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">&lt;a href="http://www.webxml.com.cn/" target="_blank"&gt;WebXml.com.cn&lt;/a&gt; &lt;strong&gt;天气预报 Web 服务,数据每2.5小时左右自动更新一次,准确可靠。包括 340 多个中国主要城市和 60 多个国外主要城市三日内的天气预报数据。&lt;/br&gt;此天气预报Web Services请不要用于任何商业目的,若有需要请&lt;a href="http://www.webxml.com.cn/zh_cn/contact_us.aspx" target="_blank"&gt;联系我们&lt;/a&gt;,欢迎技术交流。 QQ:8409035&lt;br /&gt;使用本站 WEB 服务请注明或链接本站:http://www.webxml.com.cn/ 感谢大家的支持&lt;/strong&gt;!&lt;br /&gt;&lt;span style="color:#999999;"&gt;通知:天气预报 WEB 服务如原来使用地址 http://www.onhap.com/WebServices/WeatherWebService.asmx 的,请改成现在使用的服务地址 http://www.webxml.com.cn/WebServices/WeatherWebService.asmx ,重新引用即可。&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;</wsdl:documentation>
  451. <wsdl:port name="WeatherWebServiceSoap" binding="tns:WeatherWebServiceSoap">
  452. <soap:address location="http://www.webxml.com.cn/WebServices/WeatherWebService.asmx" />
  453. </wsdl:port>
  454. <wsdl:port name="WeatherWebServiceSoap12" binding="tns:WeatherWebServiceSoap12">
  455. <soap12:address location="http://www.webxml.com.cn/WebServices/WeatherWebService.asmx" />
  456. </wsdl:port>
  457. <wsdl:port name="WeatherWebServiceHttpGet" binding="tns:WeatherWebServiceHttpGet">
  458. <http:address location="http://www.webxml.com.cn/WebServices/WeatherWebService.asmx" />
  459. </wsdl:port>
  460. <wsdl:port name="WeatherWebServiceHttpPost" binding="tns:WeatherWebServiceHttpPost">
  461. <http:address location="http://www.webxml.com.cn/WebServices/WeatherWebService.asmx" />
  462. </wsdl:port>
  463. </wsdl:service>
  464. </wsdl:definitions>