共用方式為


在 SharePoint 應用程式中使用 SOAP API

安裝 Reporting Services 時已經提供一組新的端點,這些端點可以開發與 Microsoft Windows SharePoint Services 3.0 或更新版本以及 Microsoft Office SharePoint Server 2007 或更新版本緊密整合的報表方案。這些端點會安裝在 Reporting Services 安裝以及適用於 SharePoint 技術的 Reporting Services 增益集中。如需有關如何在 SharePoint 整合模式中設定 Reporting Services 的詳細資訊,請參閱<針對 SharePoint 2010 整合設定 Reporting Services>。

報表伺服器端點

ReportService2005 端點會針對設定為原生模式的報表伺服器提供管理 API,而 ReportService2006 端點則針對設定為 SharePoint 整合模式的報表伺服器提供管理 API。在 SQL Server 2008 R2中,則有稱為 ReportService2010 的新端點可管理設定為原生模式或 SharePoint 整合模式的報表伺服器。

重要事項重要事項

當報表伺服器設定為 SharePoint 整合模式時,ReportService2005 API 會傳回 rsOperationNotSupportedSharePointMode 錯誤。如果報表伺服器設定為原生模式,則 ReportService2006 API 會傳回 rsOperationNotSupportedNativeMode 錯誤。同樣地,在不相容的模式的報表伺服器上使用 ReportService2010 中特屬模式的 API 時,API 也會傳回相對應的錯誤。

ReportExecution2005 端點將繼續同時在原生和 SharePoint 整合模式中運作。下列是在報表伺服器上參考 ReportService2010 端點的範例 URL。

http://<Server Name>/ReportServer/ReportService2010.asmx

SharePoint Proxy 端點

除了報表伺服器端點之外,在安裝 Reporting Services 增益集時,會在 SharePoint 伺服器上安裝一組 Proxy 端點。當報表伺服器是針對 SharePoint 整合模式設定時,Proxy 端點是開發報表方案的主要 API。當針對 Proxy 端點開發時,Reporting Services 增益集會處理在信任帳戶驗證模式下,SharePoint 伺服器與報表伺服器之間的認證交換。當針對報表伺服器端點開發時,呼叫應用程式必須在信任帳戶驗證模式下管理認證交換。下表將列出隨 Reporting Services 增益集一起安裝的端點。

Proxy 端點

說明

ReportService2006

提供 API 以管理設定為 SharePoint 整合模式的報表伺服器。

ReportService2010

提供 API 以管理設定為原生模式或 SharePoint 整合模式的報表伺服器。

ReportExecution2005

提供執行及導覽報表的 API。

ReportServiceAuthentication

提供 API 以便在為表單驗證設定 SharePoint Web 應用程式時,針對報表伺服器驗證使用者。

下列是在 SharePoint 網站上參考 Proxy 端點的範例 URL。

http://<Server Name>/<Site Name>/_vti_bin/ReportServer/ReportService2010.asmx

http://<Server Name>/<Site Name>/_vti_bin/ReportServer/ReportExecution2005.asmx

http://<Server Name>/<Site Name>/_vti_bin/ReportServer/ReportServiceAuthentication.asmx