error downloading $metadata from webservice
<p>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?</p>

<p>There was an error downloading '<a href="http://www.example.com/BackEndWebService/LoginWebService.asmx/" rel="noreferrer">http://www.example.com/BackEndWebService/LoginWebService.asmx/</a>$metadata'.</p>

<h2>The request failed with the error message:</h2>

<p>$metadata Web Service method name is not valid. </p>