本程序通过调用网络上公开的天气预报网络服务来显示某个地区三天的天气,使用到的网络服务地址:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx,该天气预报 Web 服务,数据来源于中国气象局http://www.cma.gov.cn/...
在MyEclipse中启动Tomcat的时候报错: java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addServlet 我的解决方案是将 Tomcat安装目录下的conf\context.xml的结点里面添加:....
分类:
编程语言 时间:
2015-01-03 08:11:49
阅读次数:
252
股票行情数据 WEB 服务(支持香港、深圳、上海基金、债券和股票;支持多股票同时查询) Endpoint: http://webservice.webxml.com.cn/WebServices/StockInfoWS.asmx 复制 Endpoint Disco: http://webservice.webx...
分类:
Web程序 时间:
2014-12-30 12:05:52
阅读次数:
259
股票行情数据WEB服务(支持香港、深圳、上海基金、债券和股票;支持多股票同时查询)Endpoint:http://webservice.webxml.com.cn/WebServices/StockInfoWS.asmx复制EndpointDisco:http://webservice.webxml.com.cn/WebServices/StockInfoWS.asmx?disco复制DiscoWSDL:http://webs..
分类:
Web程序 时间:
2014-12-26 06:19:18
阅读次数:
525
天气预报是一种常见的功能,我们可以在自己的微信公众号上添加这个功能。
本文的天气预报的内容是从www.webxml.com.cn拿过来的,不知道有没有限制,先将就着用。还有一种是通过webservices获取天气预报。
我就先用图片的形式展现出来,文章的最后会给出源代码。
SERVICES_HOST 网站地址
WEATHER_SERVICES_URL 天气服务地址
PROV...
分类:
微信 时间:
2014-12-25 10:05:30
阅读次数:
339
Action() { web_reg_save_param("Response","LB=","RB=",LAST); web_url("getweather", "URL=http://webservice.webxml.com.cn/WebServices/WeatherWS.a...
分类:
Web程序 时间:
2014-12-19 12:52:08
阅读次数:
176
Action() { web_reg_save_param("Response","LB=","RB=",LAST); web_submit_data("getWeather", "Action=http://webservice.webxml.com.cn/WebServices/WeatherW...
分类:
Web程序 时间:
2014-12-19 11:45:48
阅读次数:
195
Action() { web_reg_save_param("Response","LB=", "RB=", LAST); web_add_header("SOAPAction","http://WebXml.com.cn/getWeather"); web_custom_...
分类:
Web程序 时间:
2014-12-18 20:16:16
阅读次数:
268
Action() { web_add_header("SOAPAction", "http://WebXml.com.cn/getWeather"); soap_request("StepName=Sample Soap Request", "URL=http:...
分类:
Web程序 时间:
2014-12-18 20:14:31
阅读次数:
223
时间关系,先总结一下天气信息获取部分,给出详细的步骤.在URL里面输入 http://www.webxml.com.cn/WebServices/WeatherWebService.asmx ,添加引用就行 。准备工作已经做好,下面给出我里面大部分的代码 private void Ge...