I am using Visual Studio Professional 2012 and trying to add web reference for ReportService.asmx through Add Service Reference>Advanced>Add Web Reference.
In the Add Web Reference dialog I enter the address to the ssrs report service and click GO. The URL is,
http://MyServerName/ReportServer/ReportService.asmx
.
I am able to view the WSDL in my browser.
On the left, it shows me the methods it found in the WSDL.
On the right, the Add Reference button is disabled and the following error appears:
The HTML document does not contain Web service discovery information.
what could be reason for this?
Very late, but this helped me: In a browser, open the url and add "?wsdl" at the end. If you have any exceptions that occurred during serialization, then the error(s) will show there and you can then resolve the problem. In my case a new class did not have a parameter-less constructor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With