Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL...
-
Upload
phoebe-blankenship -
Category
Documents
-
view
263 -
download
0
Transcript of Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL...
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
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
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
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
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)
Report Generation
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
URL Addressability
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!
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
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
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
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
Basic Web Service Client Application
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
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/
SQL Server Summit SQL Server Summit Brought To You By:Brought To You By:
© 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.