ReportExecutionService Class

The Reporting Services Execution Web service allows developers to programmatically process and render reports from a report server.

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

Syntax

'Declaration
<WebServiceBindingAttribute(Name := "ReportExecutionServiceSoap", Namespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")> _
Public Class ReportExecutionService _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As ReportExecutionService
[WebServiceBindingAttribute(Name = "ReportExecutionServiceSoap", Namespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")]
public class ReportExecutionService : SoapHttpClientProtocol
[WebServiceBindingAttribute(Name = L"ReportExecutionServiceSoap", Namespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")]
public ref class ReportExecutionService : public SoapHttpClientProtocol
[<WebServiceBindingAttribute(Name = "ReportExecutionServiceSoap", Namespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")>]
type ReportExecutionService =  
    class
        inherit SoapHttpClientProtocol
    end
public class ReportExecutionService extends SoapHttpClientProtocol

Remarks

You must set the Url and Credentials properties of the web service before making any method calls.

In SharePoint integrated mode, all methods in the Reporting Services Execution Web service have a 100 second timeout.

Examples

Dim rs As New myNamespace.myReferenceName.ReportExecutionService()
rs.Url = "http://myservername.reportserver/ReportExecution2005.asmx?wsdl"
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
myNamespace.myReferenceName.ReportExecutionService rs = new myNamespace.myReferenceName.ReportExecutionService();
rs.Url = "http://myservername.reportserver/reportexecution2005.asmx?wsdl"
rs.Credentials = System.Net.CredentialCache.DefaultCredentials

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Web.Services.Protocols.WebClientProtocol
        System.Web.Services.Protocols.HttpWebClientProtocol
          System.Web.Services.Protocols.SoapHttpClientProtocol
            ReportExecution2005.ReportExecutionService

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.