1

我想在本地机器上添加对 SQL 报告服务的服务引用。在 Web 服务 URL 选项卡下的报告服务配置管理器中,我暴露了报告服务 URL,我尝试使用该 Web 引用 URL 将 Web 引用添加到项目中,但找不到它。

请告诉我我错过了什么或者这是正确的方法吗?

非常感谢。

4

3 回答 3

2

用这个:

http://server/reportserver/ReportService2005.asmx?wsdl

参考:http: //msdn.microsoft.com/en-us/library/ms154052.aspx

于 2010-05-16T04:13:35.407 回答
1

SSRS 中有两种地址,(您可以在 SSRS 配置工具中找到它们)

 //localhost:xxxx/Reports

 //localhost:xxxx/ReportServer

你必须使用ReportServer

于 2010-05-09T04:40:42.080 回答
0

首先,你应该试试这个网址: http://localhost/ReportServer/ReportService.asmx?WSDL

url 末尾的 WSDL 非常重要,因为只有通过这个查询字符串 web-service 才会返回 Web-Service 定义以供报告服务参考。

其他方式,在“添加 web 引用”对话框中,您可以选择“本地计算机上的 Web 服务”(见图),然后在那里选择您的服务。

替代文字 http://img706.imageshack.us/img706/2387/solution.png

有关所需权限的其他信息在这里:http: //msdn.microsoft.com/en-us/library/ms169816.aspx

于 2010-05-13T12:50:00.340 回答