Developing XML Web Services Using Microsoft Visual C#™ .NET Beta 2

12 1.1K 2
Developing XML Web Services Using Microsoft Visual C#™ .NET Beta 2

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Course Number: 2524A Released: 10/2001 Delivery Guide Developing XML Web Services Using Microsoft ® Visual C# ™ .NET Beta 2 Part Number: X08-51644 Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, places or events is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.  2001 Microsoft Corporation. All rights reserved. Microsoft, MS-DOS, Windows, Windows NT, Active Directory, Authenticode, Biztalk, Intellisense, Jscript, MSDN, PowerPoint, Visual Basic, Visual C++, Visual C#, Visual Studio, Win32, and Windows Media are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Course Number: 2524A Part Number: X08-51644 Released: 10/2001 Developing XML Web Services Using Microsoft® Visual C#™ .NET Beta 2 iii Contents Introduction Course Materials 2 Prerequisites .3 Course Outline .4 Setup 7 Microsoft Certified Professional Program .8 Facilities .10 Module 1: The Need for Web Services Overview 1 Evolution of Distributed Applications .2 Problems with Traditional Distributed Applications .4 Introducing Web Services 15 The Web Technology Stack and .NET 18 The .NET Alternatives to Web Services 20 Common Web Service Scenarios .22 Review .24 Module 2: Web Service Architectures Overview 1 Service-Oriented Architecture .2 Web Service Architectures and Service-Oriented Architecture .5 Roles in a Web Service Architecture .9 The Web Services Programming Model 18 Review .21 Module 3: The Underlying Technologies of Web Services Overview 1 HTTP Fundamentals 2 XML Essentials 14 SOAP Fundamentals 26 Lab 3: Issuing HTTP and SOAP Requests Using the .NET Framework .39 Review .45 Module 4: Consuming Web Services Overview 1 WSDL Documents .2 Web Service Discovery 9 Web Service Proxies 18 Implementing a Web Service Consumer Using Visual Studio .NET 26 Lab 4: Implementing a Web Service Consumer Using Visual Studio .NET .36 Review .45 Module 5: Implementing a Simple Web Service Overview 1 Creating a Web Service Project .2 Implementing Web Service Methods .13 Managing State in an ASP.NET Web Service .33 Debugging Web Services .41 Lab 5: Implementing a Simple Web Service .59 Review .73 iv Developing XML Web Services Using Microsoft® Visual C#™ .NET Beta 2 Module 6: Publishing and Deploying Web Services Overview . 1 Overview of UDDI 2 Publishing a Web Service . 17 Finding a Web Service 20 Publishing a Web Service on an Intranet 22 Configuring a Web Service . 24 Lab 6: Publishing and Finding Web Services in a UDDI Registry . 27 Review 38 Module 7: Securing Web Services Overview . 1 Overview of Security 2 Built-In Authentication . 10 Custom Authentication: SOAP Headers . 20 Authorization: Role-Based Security . 26 Authentication: Code Access Security 34 Encryption . 42 Lab 7: Securing Web Services 50 Review 62 Module 8: Designing Web Services Overview . 1 Datatype Constraints . 2 Scalability . 9 Performance 13 Reliability 26 Versioning . 32 ISP and ASP Deployment . 34 Architectural Elements 36 Review 39 Module 9: Implementing a Nonstandard Web Service Overview . 1 HTML Screen Scraping Web Services . 2 Aggregating Web Services 13 Lab 9: Implementing an Aggregated Web Service . 17 Review 28 Developing XML Web Services Using Microsoft® Visual C#™ .NET Beta 2 v About This Course This section provides you with a brief description of the course, audience, suggested prerequisites, and course objectives. Description This three-day instructor-led course teaches experienced software developers how Web Services can be used in solving common problems in the distributed application domain. This course teaches developers how to build, deploy, locate, and consume Web Services. Audience This course is designed for experienced software developers who have previously built component-based applications. Student Prerequisites This course requires that students meet the requirements listed in the following knowledge and skills matrix. Understand Concepts Written simple applications Written real- world applications Prerequisites Preferred Required Preferred Required Preferred Required Familiarity with C# ! Programming in C++, Java, or Microsoft Visual Basic ® ! Programming in Microsoft Component Object Model (COM) or JavaBeans ! Programming in COM+ or Enterprise JavaBeans ! Familiarity with Extensible Markup Language (XML) ! vi Developing XML Web Services Using Microsoft® Visual C#™ .NET Beta 2 Course Objectives After completing this course, the student will be able to: " Explain how Web Services emerged as a solution to the problems with traditional approaches to designing distributed applications. " Describe the architecture of a Web Services-based solution. " Explain how the Microsoft ® .NET Framework can be used to implement Web Services using these technologies. " Implement a Web Service consumer by using Microsoft Visual Studio ® .NET Beta 2. " Implement a simple Web Service by using Microsoft Visual Studio .NET Beta 2. " Publish and deploy a Web Service. " Secure a Web Service. " Evaluate the trade-offs and issues involved in designing a real-world Web Service. " Implement nonstandard Web Services such as Hypertext Markup Language (HTML) screen scraping and aggregating Web Services. Developing XML Web Services Using Microsoft® Visual C#™ .NET Beta 2 vii Course Timing The following schedule is an estimate of the course timing. Your timing may vary. Day 1 Start End Module 9:00 9:20 Introduction 9:20 10:20 Module 1: The Need for Web Services 10:20 10:30 Break 10:30 11:30 Module 2: Web Service Architectures 11:30 12:15 Lunch 12:15 2:15 Module 3: The Underlying Technologies of Web Services 2:15 2:25 Break 2:25 3:10 Lab 3: Issuing HTTP and SOAP Requests Using the .NET Framework 3:10 5:10 Module 4: Consuming Web Services Day 2 Start End Module 9:00 10:15 Lab 4: Implementing a Web Service Consumer Using Visual Studio .NET 10:15 10:25 Break 10:25 12:00 Module 5: Implementing a Simple Web Service 12:00 12:45 Lunch 12:45 1:40 Module 5: Implementing a Simple Web Service (continued) 1:40 2:30 Lab 5: Implementing a Simple Web Service 2:30 2:40 Break 2:40 3:05 Lab 5: Implementing a Simple Web Service (continued) 3:05 4:35 Module 6: Publishing and Deploying Web Services 4:35 5:05 Lab 6: Publishing and Finding Web Services in a UDDI Registry viii Developing XML Web Services Using Microsoft® Visual C#™ .NET Beta 2 Day 3 Start End Module 9:00 9:30 Lab 6: Publishing and Finding Web Services in a UDDI Registry (continued) 9:30 10:30 Module 7: Securing Web Services 10:30 10:40 Break 10:40 11:40 Module 7: Securing Web Services (continued) 11:40 12:25 Lunch 12:25 1:25 Lab 7: Securing Web Services 1:25 2:25 Module 8: Designing Web Services 2:25 2:35 Break 2:35 3:20 Module 9: Implementing a Nonstandard Web Service 3:20 4:50 Lab 9: Implementing an Aggregated Web Service Developing XML Web Services Using Microsoft® Visual C#™ .NET Beta 2 ix Trainer Materials Compact Disc Contents The Trainer Materials compact disc contains the following files and folders: " Autorun.exe. When the compact disc is inserted into the CD-ROM drive, or when you double-click the Autorun.exe file, this file opens the compact disc and allows you to browse the Student Materials or Trainer Materials compact disc. " Autorun.inf. When the compact disc is inserted into the compact disc drive, this file opens Autorun.exe. " Default.htm. This file opens the Trainer Materials Web page. " Readme.txt. This file explains how to install the software for viewing the Trainer Materials compact disc and its contents and how to open the Trainer Materials Web page. " 2524A_ms.doc. This file is the Manual Classroom Setup Guide. It contains the steps for manually installing the classroom computers. " Powerpnt. This folder contains the PowerPoint slides that are used in this course. " Pptview. This folder contains the PowerPoint Viewer, which is used to display the PowerPoint slides. " Setup. This folder contains the files that install the course and related software to computers in a classroom setting. " StudentCD. This folder contains the Web page that provides students with links to resources pertaining to this course, including additional reading, review and lab answers, lab files, multimedia presentations, and course- related Web sites. " Tools. This folder contains files and utilities used to complete the setup of the instructor computer. " Webfiles. This folder contains the files that are required to view the course Web page. To open the Web page, open Microsoft Windows ® Explorer, and in the root directory of the compact disc, double-click Default.htm or Autorun.exe. x Developing XML Web Services Using Microsoft® Visual C#™ .NET Beta 2 Student Materials Compact Disc Contents The Student Materials compact disc contains the following files and folders: " Autorun.exe. When the compact disc is inserted into the CD-ROM drive, or when you double-click the Autorun.exe file, this file opens the compact disc and allows you to browse the Student Materials compact disc or install Internet Explorer. " Autorun.inf. When the compact disc is inserted into the compact disc drive, this file opens Autorun.exe. " Default.htm. This file opens the Student Materials Web page. It provides resources pertaining to this course, including additional reading, review and lab answers, lab files, multimedia presentations, and course-related Web sites. " Readme.txt. This file explains how to install the software for viewing the Student Materials compact disc and its contents and how to open the Student Materials Web page. " 2524A_ms.doc. This file is the Manual Classroom Setup Guide. It contains a description of classroom requirements, classroom setup instructions, and the classroom configuration. " Database. This folder contains databases used in the course. " Fonts. This folder contains fonts that are required to view the Microsoft PowerPoint ® presentation and Web-based materials. " Labfiles. This folder contains files that are used in the hands-on labs. These files may be used to prepare the student computers for the hands-on labs. " Mplayer. This folder contains the setup file to install Microsoft Windows Media ™ Player. " Webfiles. This folder contains the files that are required to view the course Web page. To open the Web page, open Windows Explorer, and in the root directory of the compact disc, double-click Default.htm or Autorun.exe. " WebServicesSolution. This folder contains the final web services solutions. " Wordview. This folder contains the Word Viewer that is used to view any Word document (.doc) files that are included on the compact disc. [...].. .Developing XML Web Services Using Microsoft Visual C#™ NET Beta 2 xi Document Conventions The following conventions are used in course materials to distinguish elements of the text Convention Use # Indicates an introductory page This . Securing Web Services (continued) 11:40 12: 25 Lunch 12: 25 1 :25 Lab 7: Securing Web Services 1 :25 2: 25 Module 8: Designing Web Services 2: 25 2: 35 Break 2: 35 3 :20 . Web Service consumer by using Microsoft Visual Studio ® .NET Beta 2. " Implement a simple Web Service by using Microsoft Visual Studio .NET Beta 2.

Ngày đăng: 18/10/2013, 18:15

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan