我正在尝试更新/添加来自visual studio社区2013的web引用,但我尝试了一个非常乏味的错误,如图所示:
Add web reference image
Update web reference image
这两个错误似乎都与下载wsdl元数据时出错有关,这以前从未发生过,因为我无法再更新/添加web引用了。wsdl在浏览器中正确加载的URL,此外我还可以ping服务器。我试过很多在网上找到的东西,比如这个问题
error downloading $metadata from webservice
,但我没有取得好的结果,如果有其他解决方案或假设可以帮助我了解正在发生的事情,我将非常感谢。
我总是尝试按服务引用添加web引用,但我没有成功,错误是这样说的:
There was an error downloading 'https://ssl00.kiusys.com/rserver2.4.2/server.kiu?wsdl/_vti_bin/ListData.svc/$metadata'.
The underlying connection was closed: An unexpected error occurred on a send.
Unable to read data from the transport connection: Se ha forzado la interrupción de una conexión existente por el host remoto.
Se ha forzado la interrupción de una conexión existente por el host remoto
Metadata contains a reference that cannot be resolved: 'https://ssl00.kiusys.com/rserver2.4.2/server.kiu?wsdl'.
An error occurred while making the HTTP request to https://ssl00.kiusys.com/rserver2.4.2/server.kiu?wsdl. 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.
Unable to read data from the transport connection: Se ha forzado la interrupción de una conexión existente por el host remoto.
Se ha forzado la interrupción de una conexión existente por el host remoto
If the service is defined in the current solution, try building the solution and adding the service reference again.
事先非常感谢。