添加服务参考时出现错误 [英] Getting Error while adding service reference

查看:92
本文介绍了添加服务参考时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从VS 2013添加服务引用时遇到了错误.这很奇怪,我可以在VS 2015中添加与服务引用相同的URL.

下载"https://[URL] .asmx/_vti_bin/ListData.svc/$ metadata"时出错.
基础连接已关闭:发送中发生意外错误.
身份验证失败,因为远程方已关闭传输流.
元数据包含无法解析的引用:'https://[URL] .asmx'.
向https://[URL] .asmx发出HTTP请求时发生错误.这可能是由于在HTTPS情况下未使用HTTP.SYS正确配置服务器证书.这也可能是由于安全绑定不匹配造成的 在客户端和服务器之间.
基础连接已关闭:发送中发生意外错误.
身份验证失败,因为远程方已关闭传输流.
如果服务是在当前解决方案中定义的,请尝试构建解决方案并再次添加服务引用.

There was an error downloading 'https://[URL].asmx/_vti_bin/ListData.svc/$metadata'.
The underlying connection was closed: An unexpected error occurred on a send.
Authentication failed because the remote party has closed the transport stream.
Metadata contains a reference that cannot be resolved: 'https://[URL].asmx'.
An error occurred while making the HTTP request to https://[URL].asmx. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.
The underlying connection was closed: An unexpected error occurred on a send.
Authentication failed because the remote party has closed the transport stream.
If the service is defined in the current solution, try building the solution and adding the service reference again.

关于Sai

推荐答案

嗨Sai,

由于您的问题与WCF更加相关,因此我将其移至相应的论坛,以便您获得专业的解答.

As your issue is more related to WCF, I will move it to corresponding forum for you to get a professional answer.

感谢您的理解.

最诚挚的问候

抓取


这篇关于添加服务参考时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆