title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | ms.custom | helpviewer_keywords | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Accessing the SOAP API |
The Report Server Web service uses SOAP over HTTP and acts as a communications interface between clients and the report server. Use WSDL to call the service. |
kfollis |
kfollis |
09/25/2024 |
reporting-services |
report-server-web-service |
reference |
|
|
The Report Server Web service uses Simple Object Access Protocol (SOAP) over HTTP and acts as a communications interface between client programs and the report server. The Web service provides two endpoints - one for report execution and one for report management - and consists of methods and a set of complex type objects that you can use to access the complete functionality of [!INCLUDEssRSnoversion]. To call the service, you must reference the Reporting Services Web Services Description Language (WSDL).
To call a Web service successfully, you must know how to access the service, what operations the service supports, what parameters the service expects, and what the service returns. WSDL provides this information in an XML document that can be read or processed by a computer.
The Report Server Web services are exposed in three different endpoints. The name of the WSDL file is different for each endpoint. The xref:ReportService2010 endpoint contains methods for managing objects in a Report Server in either native or SharePoint integrated mode. The WSDL for this endpoint is accessed through ReportService2010.asmx?wsdl.
Note
The xref:ReportService2005 and xref:ReportService2006 endpoints are deprecated in [!INCLUDEsql2008r2]. The xref:ReportService2010 endpoint includes the functionalities of both endpoints and contains additional management features.
- The xref:ReportExecution2005 endpoint allows developers to programmatically process and render reports in a Report Server. The WSDL for this endpoint is accessed through
ReportExecution2005.asmx?wsdl
.
WSDL can be consumed by development kits that support SOAP and Web services, such as the [!INCLUDEmsCoName] [!INCLUDEdnprdnshort] SDK.
The following example shows the format of the URL to the [!INCLUDEssRSnoversion] management WSDL file:
https://server/reportserver/ReportService2010.asmx?wsdl
The following table describes each element in the URL.
URL element | Description |
---|---|
server | The name of the server on which the report server is deployed. |
reportserver | The name of the folder that contains the XML Web service. This is configured during setup. |
<endpoint name>.asmx | The name of the web service endpoint. |
For more information about the WSDL format, see the World Wide Web Consortium (W3C) WSDL specification at http://www.w3.org/TR/wsdl.