Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation
Reporting Platform Opportunities.NET-based solutions (non-reporting) with reporting needs.NET-based solutions (non-reporting) with reporting needs Report Authoring and Publishing Tools Report Authoring and Publishing Tools Delivery, Data and Rendering Extensions (Add-ons) Delivery, Data and Rendering Extensions (Add-ons) Server Management Applications Server Management Applications Portals and Collaboration Applications Portals and Collaboration Applications
SQL Server Catalog Report Server Reporting Services Architecture Delivery Delivery Targets ( , File share, Custom) Security Services (NT, Passport, Custom) Security Data Sources (SQL, OLE DB, ODBC, Oracle, Custom) Output Formats (HTML, Excel, PDF, Custom) Report Processing BrowserManagementCustom App URLWMIWeb Service Data Retrieval Rendering
Programmatic Interfaces Customizable XML report definition Customizable XML report definition Open Schema Viewing Interfaces Viewing Interfaces URL Addressability Web Service / SOAP Management Interfaces Management Interfaces Web Service / SOAP WMI Interface Extension Interfaces Extension Interfaces Data, Delivery, Rendering and Security
Generating Reports Application specific report authoring requirements Application specific report authoring requirements Reports are defined in Report Definition Language (RDL), a customizable XML format Reports are defined in Report Definition Language (RDL), a customizable XML format Use.NET XML classes to generate report definitions Use.NET XML classes to generate report definitions Leverage RDL Schema Description (XSD)
Report Generation
URL Addressability Virtual Roots Report Server Report Server Web Service Interface Parameter directives Report Server Web Application Report Server Web Application SSL Support SSL Support Fully localized Fully localized Based on language in HTTP header
URL Addressability
URL Parameter Directives Report Parameters Report Parameters Parameter names must match report definition Example: CategoryID=1&EmployeeID=1 User Credentials (dsu: and dsp:) User Credentials (dsu: and dsp:) Credentials for each report data set Example: dsu:DataSet1=MyUserName& dsp:DataSet1=MyPassword Can also use HTTPS POST Use Secure Protocols!
URL Parameter Directives Report Server Parameters (rs:) Report Server Parameters (rs:) Performance optimization avoids item type check Example: rs:Command=Render Rendering Device Info (rc:) Rendering Device Info (rc:) Name/Values pairs specifying information about the format being rendered to (i.e., FindString, Section, Zoom, etc.) Unique per Rendering Extension Example: rc:Section=7&rc:HTMLFragment=true
Web Service Interfaces Namespace Management Namespace Management Item Properties Item Properties Report Execution Report Execution Report Parameters Report Parameters Report History Report History Data Source Management Data Source Management Scheduling Scheduling Subscriptions and Delivery Subscriptions and Delivery Linked Reports Linked Reports Job Management Job Management Security Management Security Management
Getting Started Web Service Reference Reportservice.asmx?wsdl Proxy generated by Visual Studio.NET Proxy generated by Visual Studio.NET Complex types defined in XSD Synchronous and asynchronous support Update operations may be batched SOAP Headers SOAP Headers Session ID Server Info Batch ID
Getting Started Web Service - Authentication Authentication Authentication Basic Authentication Basic Authentication System.Net.NetworkCredentials Dim rs As New MyServer. RSWebService() ‘ Prompt user for credentials rs.Credentials = new System.Net.NetworkCredential ("user", "pwd", "domain") Integrated Authentication Integrated Authentication System.Net.CredentialCache Dim rs As New MyServer. RSWebService() rs.Credentials = System.Net.CredentialCache.DefaultCredentials
Basic Web Service Client Application
Extending the Report Server Extensions provide a way to extend the Reporting Services Platform Extensions provide a way to extend the Reporting Services Platform Managed code runs in server process Published CLR interfaces 5 Extension Types (Processing, Data, Delivery, Rendering, Security) 5 Extension Types (Processing, Data, Delivery, Rendering, Security) Covered in Session 129 – Extending Reporting Services Covered in Session 129 – Extending Reporting Services
Next Steps Download Reporting Services Evaluation Edition (after January 27 th ) Download Reporting Services Evaluation Edition (after January 27 th ) Sign up for Launch Web Cast Sign up for Launch Web Cast For more information, please You can download event presentations at You can download event presentations at
SQL Server Summit Brought To You By:
© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.