Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL...

19

Transcript of Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL...

Page 1: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.
Page 2: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Developing SQL Server 2000 Developing SQL Server 2000 Reporting Services Reporting Services ApplicationsApplications

Brian WelckerBrian WelckerGroup Program ManagerGroup Program ManagerSQL Server Reporting ServicesSQL Server Reporting ServicesMicrosoft CorporationMicrosoft Corporation

Page 3: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Reporting PlatformReporting PlatformOpportunitiesOpportunities .NET-based solutions (non-reporting) .NET-based solutions (non-reporting)

with reporting needswith reporting needs Report Authoring and Publishing Tools Report Authoring and Publishing Tools Delivery, Data and Rendering Delivery, Data and Rendering

Extensions (Add-ons)Extensions (Add-ons) Server Management ApplicationsServer Management Applications Portals and Collaboration ApplicationsPortals and Collaboration Applications

Page 4: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

SQL Server Catalog

Report Server

Reporting Services ArchitectureReporting Services Architecture

Delivery

Delivery Targets(E-mail, 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

Browser Management

Custom App

URL WMI Web Service

Data Retrieval Rendering

Page 5: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Programmatic InterfacesProgrammatic Interfaces Customizable XML report definitionCustomizable XML report definition

Open Schema Open Schema

Viewing InterfacesViewing Interfaces URL AddressabilityURL Addressability Web Service / SOAPWeb Service / SOAP

Management InterfacesManagement Interfaces Web Service / SOAPWeb Service / SOAP WMI InterfaceWMI Interface

Extension InterfacesExtension Interfaces Data, Delivery, Rendering and SecurityData, Delivery, Rendering and Security

Page 6: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Generating ReportsGenerating Reports

Application specific report authoring Application specific report authoring requirementsrequirements

Reports are defined in Report Reports are defined in Report Definition Language (RDL), a Definition Language (RDL), a customizable XML formatcustomizable XML format

Use .NET XML classes to generate Use .NET XML classes to generate report definitionsreport definitions Leverage RDL Schema Description (XSD)Leverage RDL Schema Description (XSD)

Page 7: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Report Generation

Page 8: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

URL AddressabilityURL AddressabilityVirtual Roots Virtual Roots

Report ServerReport Serverhttp://[http://[servernameservername]/ReportServer]/ReportServer

Web Service InterfaceWeb Service Interface Parameter directivesParameter directives

Report Server Web ApplicationReport Server Web Applicationhttp://[http://[servernameservername]/Reports]/Reports

SSL SupportSSL Support Fully localizedFully localized

Based on language in HTTP headerBased on language in HTTP header

Page 9: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

URL Addressability

Page 10: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

URL Parameter DirectivesURL Parameter Directives

Report ParametersReport Parameters Parameter names must match report definitionParameter names must match report definition Example:Example:

http://servername/ReportServer/ReportName?http://servername/ReportServer/ReportName?CategoryID=1&EmployeeID=1CategoryID=1&EmployeeID=1

User Credentials (dsu: and dsp:)User Credentials (dsu: and dsp:) Credentials for each report data setCredentials for each report data set Example:Example:

https://servername/ReportServer/ReportName?https://servername/ReportServer/ReportName?dsu:DataSet1=MyUserName&dsu:DataSet1=MyUserName&dsp:DataSet1=MyPassworddsp:DataSet1=MyPassword

Can also use HTTPS POSTCan also use HTTPS POST Use Secure Protocols!Use Secure Protocols!

Page 11: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

URL Parameter DirectivesURL Parameter Directives

Report Server Parameters (rs:)Report Server Parameters (rs:) Performance optimization avoids item type checkPerformance optimization avoids item type check Example:Example:

http://servername/ReportServer/ReportName?http://servername/ReportServer/ReportName?rs:Command=Renderrs:Command=Render

Rendering Device Info (rc:)Rendering Device Info (rc:) Name/Values pairs specifying information about Name/Values pairs specifying information about

the format being rendered to (i.e., FindString, the format being rendered to (i.e., FindString, Section, Zoom, etc.)Section, Zoom, etc.)

Unique per Rendering ExtensionUnique per Rendering Extension Example:Example:

http://servername/ReportServer/ReportName?http://servername/ReportServer/ReportName?rc:Section=7&rc:HTMLFragment=truerc:Section=7&rc:HTMLFragment=true

Page 12: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Web Service InterfacesWeb Service Interfaces

Namespace Namespace ManagementManagement

Item Properties Item Properties Report ExecutionReport Execution Report ParametersReport Parameters Report HistoryReport History Data Source Data Source

ManagementManagement

SchedulingScheduling Subscriptions and Subscriptions and

DeliveryDelivery Linked ReportsLinked Reports Job ManagementJob Management Security Security

ManagementManagement

Page 13: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Getting StartedGetting StartedWeb Service Reference Web Service Reference

http://[http://[servernameservername]/ReportServer/]/ReportServer/Reportservice.asmx?wsdlReportservice.asmx?wsdl

Proxy generated by Visual Studio .NETProxy generated by Visual Studio .NET Complex types defined in XSDComplex types defined in XSD Synchronous and asynchronous supportSynchronous and asynchronous support Update operations may be batchedUpdate operations may be batched

SOAP HeadersSOAP Headers Session IDSession ID Server InfoServer Info Batch IDBatch ID

Page 14: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Getting StartedGetting StartedWeb Service - AuthenticationWeb Service - Authentication AuthenticationAuthentication Basic AuthenticationBasic Authentication

System.Net.NetworkCredentialsSystem.Net.NetworkCredentials

Dim rs As New MyServer. RSWebService()Dim rs As New MyServer. RSWebService()‘ ‘ Prompt user for credentialsPrompt user for credentials

rs.Credentials = new System.Net.NetworkCredential ("user", rs.Credentials = new System.Net.NetworkCredential ("user", "pwd", "domain") "pwd", "domain")

Integrated AuthenticationIntegrated Authentication System.Net.CredentialCacheSystem.Net.CredentialCache

Dim rs As New MyServer. RSWebService()Dim rs As New MyServer. RSWebService()rs.Credentials = System.Net.CredentialCache.DefaultCredentialsrs.Credentials = System.Net.CredentialCache.DefaultCredentials

Page 15: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Basic Web Service Client Application

Page 16: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Extending the Report Extending the Report ServerServer Extensions provide a way to extend the Extensions provide a way to extend the

Reporting Services PlatformReporting Services Platform Managed code runs in server processManaged code runs in server process Published CLR interfacesPublished CLR interfaces

5 Extension Types (Processing, Data, 5 Extension Types (Processing, Data, Delivery, Rendering, Security) Delivery, Rendering, Security)

Covered in Session 129 – Extending Covered in Session 129 – Extending Reporting ServicesReporting Services

Page 17: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

Next StepsNext Steps

Download Reporting Services Evaluation Download Reporting Services Evaluation Edition (after January 27Edition (after January 27thth)) http://www.microsoft.com/sql/reportinghttp://www.microsoft.com/sql/reporting

Sign up for Launch Web CastSign up for Launch Web Cast http://mssql.digisle.tv/http://mssql.digisle.tv/ For more information, please email For more information, please email [email protected]@microsoft.com

You can download event presentations atYou can download event presentations at http://www.microsoft.com/usa/southcentral/http://www.microsoft.com/usa/southcentral/

Page 18: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

SQL Server Summit SQL Server Summit Brought To You By:Brought To You By:

Page 19: Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.

© 2004 Microsoft Corporation. All rights reserved.© 2004 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.