报表服务器 Web 服务端点
报表服务器 Web 服务提供了几个端点,用于管理报表服务器以及执行和导航报表。
管理端点
有两个端点可用于管理报表服务器上的对象,即:ReportService2005 和 ReportService2006。ReportService2005 端点用于管理配置为本机模式的报表服务器上的对象。ReportService2006 端点用于管理配置为 SharePoint 集成模式的报表服务器上的对象。
重要提示 |
---|
当报表服务器配置为 SharePoint 集成模式时,ReportService2005 API 将返回 rsOperationNotSupportedSharePointMode 错误。如果报表服务器配置为本机模式,ReportService2006 API 将返回 rsOperationNotSupportedNativeMode 错误。 |
注意 |
---|
没有提供随 MicrosoftSQL Server 2000 Reporting Services 提供的 Web 服务。有关详细信息,请参阅SQL Server Reporting Services 中停止使用的功能。 |
可以使用以下 URL 访问管理端点的 WSDL:
http://<Server Name>/ReportServer/ReportService2005.asmx?wsdl
如果将报表服务器配置为 SharePoint 集成模式,则可以使用以下 URL 访问 WSDL:
http://<Server Name>/<Site Name>/_vti_bin/ReportServer/ReportService2006.asmx?wsdl
有关详细信息,请参阅访问 SOAP API。
执行端点
通过 ReportExecution2005 端点,开发人员可以轻松地从处于本机模式和 SharePoint 集成模式下的报表服务器自定义报表处理和呈现。此端点包含报表服务器 Web 服务的先前版本中提供的类和方法。此外,还向报表服务器 Web 服务添加了许多通过执行端点公开的新类和新方法。
可以使用以下 URL 访问管理端点的 WSDL:
http://<Server Name>/ReportServer/ReportExecution2005.asmx?wsdl
如果将报表服务器配置为 SharePoint 集成模式,则可以使用以下 URL 访问 WSDL:
http://<Server Name>/<Site Name>/_vti_bin/ReportServer/ReportExecution2005.asmx?wsdl
有关详细信息,请参阅访问 SOAP API。
SharePoint 代理端点
当报表服务器配置为 SharePoint 集成模式且已安装 Reporting Services 外接程序时,将在 SharePoint 服务器上安装一组代理端点。当将报表服务器配置为 SharePoint 集成模式时,代理端点是用于开发报表解决方案的主要 API。当针对代理端点进行开发时,Reporting Services 外接程序在可信帐户身份验证模式下管理 SharePoint 服务器与报表服务器之间的凭据交换。当针对报表服务器端点进行开发时,调用应用程序必须在可信帐户身份验证模式下管理凭据交换。下表列出随 Reporting Services 外接程序安装的端点。
代理端点 |
说明 |
---|---|
为管理配置为 SharePoint 集成模式的报表服务器提供 API。 |
|
提供用于运行和导航报表的 API。 |
|
提供 API,以便在将 SharePoint Web 应用程序配置为窗体身份验证时,针对报表服务器对用户进行身份验证。 |
以下是引用 SharePoint 站点上代理端点的示例 URL。
http://<Server Name>/<Site Name>/_vti_bin/ReportServer/ReportService2006.asmx
http://<Server Name>/<Site Name>/_vti_bin/ReportServer/ReportExecution2005.asmx
http://<Server Name>/<Site Name>/_vti_bin/ReportServer/ReportServiceAuthentication.asmx