终于解决了vs2003中访问web services时添加web引用时遇到的问题

类别:.NET开发 点击:0 评论:0 推荐:

问题描述:
在vs2003中添加web引用是总是提示超时,出错信息如下:
下载“http://localhost/TempConvert1/Service1.asmx”时出错
操作已超时。
但是在浏览器中访问则没有问题,后来始终用wsdl.exe生成代理类竟然还是出错,信息如下:
D:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>wsdl http://localhost/TempConvert1/Service1.asmx /n:VerifyProxy /out:c:\VerifyProxy.cs
Microsoft (R) Web 服务描述语言实用工具
[Microsoft (R) .NET Framework,版本 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

错误: 在处理“http://localhost/TempConvert1/Service1.asmx”时出错。
  - 下载“http://localhost/TempConvert1/Service1.asmx”时出错。
  - 操作已超时。

如果需要更多帮助,请键入“wsdl /?”。
向N个朋友请教都说没有遇到过这样的情况,后到csdn发了个帖子,根据cuike519(marshal(修练中...)) 给的这个http://support.microsoft.com/default.aspx?scid=kb;en-us;815209地址的提示,把网上邻居里所有的没有用的协议都删除后问题终于解决了,再次向cuike519(marshal(修练中...)) 说感谢

本文地址:http://com.8s8s.com/it/it42314.htm