Export (0) Print
Expand All

Accessing the SOAP API

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 Reporting Services. 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 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 Note

The ReportService2005 and ReportService2006 endpoints are deprecated in SQL Server 2008 R2. The ReportService2010 endpoint includes the functionalities of both endpoints and contains additional management features.

  • The 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 Microsoft .NET Framework SDK.

The following example shows the format of the URL to the Reporting Services management WSDL file:

http://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.

Community Additions

ADD
Show:
© 2014 Microsoft