WebService论坛 |
天气预报:http://www.wopos.com/webservice/weather.asmx 介绍: 使用 getWeather(city)方法:city-直接输入全国大中小城市及国外中城市中文名 例: 手机归属地:http://www.wopos.com/webservice/Mobile.asmx 介绍: 使用 getMobileArea(mobileCode) mobileCode-手机号码或前7位 股票走势图:http://www.wopos.com/webservice/Stock.asmx 介绍: 使用 getStockChart(StockCode) StockCode-股票代码,返回值为图片的HTTP地址. IP地址查询:http://www.wopos.com/webservice/ips.asmx 介绍: 使用 getIParea(ip)方法返回IP所在地,使用AddIPRange(startIP,EndIP,AreaInfo)增加新的IP地址信息,使用 IpToInt 和 IntToIp可对IP地址从字符串到整型的互相转换. 在网页中直接显示来访问者IP地址及所在地的代码: <script language="javascript" src="http://www.wopos.com/prg/showip.aspx"></script> 把以上代码放到BODY中合适的位置即可. 成语典故:http://www.wopos.com/webservice/chengyu.asmx 介绍: 使用 ChengYuDianGu(chengyu)方法,参数为成语或成语的拼音缩写。如返回多个成语以*_*分隔 生成验证码图像:http://www.wopos.com/webservice/vimg.asmx 介绍: 使用 GetVerifyImg(str4,Lenght,Width,Style)生成一张字符图像,用于注册、发贴等场合做图像验证。后面三个参数为保留参数,暂时无效,用于以后扩充。 目前的很简单,仅供测试。 RSS种子生成:http://www.wopos.com/webservice/Rss.asmx 介绍: 使用 OutPutRss()方法:Rss Item数据项以DataTable 方式提供。数据项数不能超过100 调用后直接输出RSS2.0 XML。 例: | <script type="text/javascript"> var tixa_nadInIframe=false; <!-- iframe flag --> var tixa_nadRowCount=4; <!--the row count of narrowad--> var tixa_nadColumnCount=1; <!--the column count of narrowad--> var tixa_nadHeight=280; <!--total height of narrowad--> var tixa_nadWidth=175; <!--total width of narrowad--> var tixa_nadBorderColor='CAE6FF'; <!--the color of the narrowad's border--> var tixa_nadBgColor='FFFFFF'; <!--the color of the narrowad's background--> var tixa_nadTitleColor='0000ff'; <!--the color of the ad's title--> var tixa_nadDescColor='000000'; <!--the color of the ad's description--> var tixa_adType='text'; <!--narrowad type--> </script><script src="http://union.narrowad.com/proxy/narrowad.jsp?wid=9575&cid=19087" type="text/javascript"> </script> <script type="text/javascript"> var tixa_wadRowCount=4; <!--the row count of widead--> var tixa_wadColumnCount=1; <!--the column count of widead--> var tixa_wadHeight=280; <!--total height of widead--> var tixa_wadWidth=175; <!--total width of widead--> var tixa_wadBorderColor='000000'; <!--the color of the widead's border--> var tixa_wadBgColor='FFFFFF'; <!--the color of the widead's background--> var tixa_wadTitleColor='0000ff'; <!--the color of the ad's title--> var tixa_wadDescColor='034500'; <!--the color of the ad's description--> var tixa_adType='text'; <!--widead type--> </script><script src="http://union.narrowad.com/proxy/widead.jsp?wid=9575&cid=19087" type="text/javascript"> </script> |