Pro SQL Server 2012 Reporting Services

(sharon) #1

CHAPTER 9  RENDERING REPORTS FROM .NET APPLICATIONS


this point and just use these methods to render the reports and to display the report parameters, toolbar,
and report. However, in this example, you want to use the SSRS 2012 Report Server Web service to get a
list of parameters for the selected report and to display them to the user in a Windows Form. To get this
list of parameters, you need to call the GetReportParameters method on the SSRS 2012 Report Server
Web service.

Figure 9-6. SSRS Viewer RVC running a locally rendered report

Using the Report Server Web Service


The SSRS 2012 Web service uses the SOAP API to allow you to call a variety of methods on the report
server and interact with them using a rich set of objects provided by the service.
There are two services that you should be concerned with in SSRS 2012. The first,
ReportingService2010, handles the management of the report server and the reports within. We will be
using this service for the remainder of the chapter. The second service, ReportExecutionService, handles
the programmatical rendering of reports without the use of a browser or report viewer.
Free download pdf