error downloading $metadata from webservice

早过忘川 提交于 2019-12-06 04:55:54

问题


I am trying to add web reference when adding web reference url in windows application it shows error like this. how do i solve it?

There was an error downloading 'http://www.example.com/BackEndWebService/LoginWebService.asmx/$metadata'.

The request failed with the error message:

$metadata Web Service method name is not valid.


回答1:


I had the same issue the other day when tried to update the web reference and managed to fix it by adding ?WSDL at the end. That should work.



来源:https://stackoverflow.com/questions/36276946/error-downloading-metadata-from-webservice

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!