在 SharePoint 应用程序中使用 SOAP API
随 Reporting Services 的安装提供了一组新的端点,借助这些端点,可以开发与 MicrosoftWindows SharePoint Services 3.0 或 MicrosoftOffice SharePoint Server 2007 紧密集成的报表解决方案。Reporting Services 安装以及用于 SharePoint 技术的 Reporting Services 外接程序同时安装了这些端点。有关如何在 SharePoint 集成模式下配置 Reporting Services 的详细信息,请参阅将 Reporting Services 配置为 SharePoint 3.0 集成模式。
报表服务器端点
ReportService2006 端点为配置为 SharePoint 集成模式的报表服务器提供管理 API。
重要提示 |
---|
当报表服务器配置为 SharePoint 集成模式时,ReportService2005 API 将返回 rsOperationNotSupportedSharePointMode 错误。如果报表服务器配置为本机模式,ReportService2006 API 将返回 rsOperationNotSupportedNativeMode 错误。 |
尽管添加了新端点来管理处于 SharePoint 集成模式下的报表服务器,但现有的 ReportExecution2005 端点将继续在本地模式和 SharePoint 集成模式下正常工作。以下是在报表服务器上引用 ReportService2006 端点的示例 URL。
http://<Server Name>/ReportServer/ReportService2006.asmx
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