在 SharePoint 應用程式中使用 SOAP API

在安裝 Reporting Services 時已經提供一組新的端點,這將允許開發與 MicrosoftWindows SharePoint Services 3.0 或 MicrosoftOffice SharePoint Server 2007 緊密整合在一起的報表方案。這些端點是由 Reporting Services 安裝以及 SharePoint 技術的 Reporting Services 增益集所安裝。如需有關如何在 SharePoint 整合模式中設定 Reporting Services 的詳細資訊,請參閱<針對 SharePoint 3.0 整合設定 Reporting Services>。

報表伺服器端點

ReportService2006 端點針對為 SharePoint 整合模式所設定的報表伺服器提供管理 API。

重要注意事項重要事項

為 SharePoint 整合模式設定報表伺服器時,ReportService2005 API 將會傳回 rsOperationNotSupportedSharePointMode 錯誤。如果為原生模式設定報表伺服器,則 ReportService2006 API 將會傳回 rsOperationNotSupportedNativeMode 錯誤。

雖然加入了新端點以便在 SharePoint 整合模式中管理報表伺服器,不過現有的 ReportExecution2005 端點將繼續在原生和 SharePoint 整合模式中運作。下列是在報表伺服器上參考 ReportService2006 端點的範例 URL。

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

SharePoint Proxy 端點

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

Proxy 端點

說明

ReportService2006

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

ReportExecution2005

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

ReportServiceAuthentication

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

下列是在 SharePoint 網站上參考 Proxy 端點的範例 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