导航

随笔分类 -  Web Service

摘要:http://www.tzwhx.com/newOperate/html/1/11/115/20849.html 阅读全文

posted @ 2010-05-09 09:57 kingwangzhen 阅读(107) 评论(0) 推荐(0) 编辑

摘要:1、新建 WebService1.asmx ;2、在WebService1.cs中加入代码:[WebMethod]public int WebAdd(int x, int y)...{ return x + y;}[WebMethod]public int WebMultiply(int x, int y) ...{ return x * y;}3、生成解决方案;4、把程序放在localhost下... 阅读全文

posted @ 2009-12-01 10:47 kingwangzhen 阅读(2073) 评论(0) 推荐(0) 编辑

摘要:Web Service是可操作的分布式应用程序。它以SOAP作为基本通信协议,使用HTTP和XML进行可以穿越防火墙的自由通信。错误提示:* 出现 访问 IIS 元数据库失败* iis 无法显示XML解决:开始->程序->Microsoft Visual Studio 2005->Visual StudioTools中打开命令行,输入命令: aspnet_regiis -i 这样... 阅读全文

posted @ 2009-12-01 10:28 kingwangzhen 阅读(553) 评论(0) 推荐(0) 编辑