Reporting Services Web Proxy path is not a wsdl
I am trying to follow this example:
http://msdn.microsoft.com/en-us/library/aa179614%28SQL.80%29.aspx#
It says to add the follo开发者_JAVA百科wing path as a Web Reference:
http://myserver/reportserver/reportservice.asmx
I have tried that (using my server name for myserver) and it always returns an error.
When I try it as a Web Reference it says "The HTML document does not contain Web service discovery information."
How can I add this service? I am clearly missing something that is not in the docs. Has anyone ever been able to add a web reference (or Service Reference) for SSRS? If so, how was it done?
Note: I am using Visual Studio 2010 Ultimate and SQL Server 2008 R2.
If you are using SQL server 2008 R2, the correct web service should be:
http://myserver/reportserver/reportservice2010.asmx
Use web browser to load this to verify.
You need to request the WSDL definition from the service by adding the ?wsdl
http:///reportserver/reportservice2010.asmx?wsdl
There is more information on this at this link Creating the Web Service Proxy
精彩评论