无法添加网络参考 [英] unable to add web reference

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

问题描述

我有一个不受支持的本地服务器.  其他人正在查询网络服务,因此我假设一切正常.  他们不使用Visual Studio,也不会问问题.

I have a local server that is unsupported.  Someone else is querying the webservice so I am assuming that all is working.  They don't use Visual studio and they are not around to ask questions of.

我无法添加服务引用,但可以在高级按钮下查询Web服务.

I am unable to add a service reference but under the advanced button I am able to query the web service.

目标页面的内容似乎可以正常下载,然后出错:

The content of the target page seems to download fine bu then it errors out:

There was an error downloading 'https://serverName/webservice/myName.svc?wsdl/_vti_bin/ListData.svc/$metadata'.
The request failed with HTTP status 406: Not Acceptable.

我不知道为什么" _vti_bin/ListData.svc/$ metadata"在里面或它的意思.  它不在SVC文件中,我要引用的服务位于 

I have no idea why "_vti_bin/ListData.svc/$metadata" is in there or what it means.  It is not in the SVC file and the service I am referencing is at 

https://serverName/webservice/myName.svc?wsdl

使用vs2013

帮助?

推荐答案

加拿大代码

感谢您的信息. Visual Studio Integrate 论坛旨在讨论并提出有关扩展和与Visual Studio集成的问题.根据您的描述,您的问题与WCF更相关.我将此线程移到WCF论坛 寻求专门的帮助.

Thank you for your post. Visual Studio Integrate forum is aim to discuss and ask questions about extending and integrating with Visual Studio. Based on your description, your question is more related to WCF. I will move this thread to WCF forum for dedicated help.

感谢您的理解.

最好的问候,
王丽

Best Regards,
Li Wang


这篇关于无法添加网络参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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