Web Services Training Overview
This course covers all of the key specifications and technologies needed to create and use interoperable Web services using Microsoft .NET and C#. Students will implement a complete end-to-end Web service solution. The Web services architecture is discussed, integrating training in SOAP, WSDL, and UDDI. Students learn to communicate using SOAP messaging, how to define a service using WSDL, and how to publish and find their service via UDDI. The course assumes a background in .NET fundamentals using C#. It consists of two modules.
The first chapter of the first module introduces the Web services architecture. It shows how SOAP is used for messaging, WSDL for services description, and UDDI for finding out what services exist. These standards are based on several XML technologies: XML, XML namespaces, and XML Schema, which are discussed, as well. This chapter concludes with a demonstration on how easy it is to develop basic Web services using Microsoft .NET. The next two chapters discuss XML and how XML is implemented in the .NET framework. The fourth and final chapter of this module shows how easy it is to implement Web services on the Microsoft .NET platform, whether or not you use Visual Studio .NET.
The second module explains the Web services architecture on the .NET platform and shows how it relates to the advanced features of Web services. SOAP and WSDL are covered in detail. Some important advanced topics not discussed in the first module are introduced. Of particular importance is the SOAP extension header, which is the mechanism for the advanced Web service protocols (security, routing, and so forth) that are being developed. The module concludes with a detailed examination of UDDI.
Web Services Training Learning Objectives
- Understand the importance and emerging role of Web services in business software
- Understand the Web services architecture
- Learn the principles of interoperability with other platforms using major protocols, including SOAP, WSDL, and UDDI
- Understand XML Schema as the basic type model for Web services standards
- Understand the .NET Web services architecture, both as a mapping of Web services to .NET and as an extension of the platform-neutral architecture
- Read and write SOAP messages by hand
- Gain an understanding of building Web services and distributed programming in Microsoft.NET using SOAP, WSDL, and UDDI
- Implement Web services with SOAP and WSDL, using the .NET Framework
- Understand the importance of service descriptions (WSDL) for advanced Web services
- Know how to read WSDL descriptions of Web services
- Understand how the .NET platform generates WSDL
- Understand the importance of service discovery
- Understand DISCO
- Understand how to use UDDI to discover services
- Publish a Web service using UDDI
- Learn the principles of interoperability with other platforms using major protocols, including SOAP, WSDL, and UDDI
- Understand the subtler issues of Web service interoperability
Web Services Training Prerequisites
A working knowledge of C# programming and the fundamentals of the .NET Framework. Familiarity with XML is helpful.
Web Services Training Course duration
4 days
Web Services Training Course outline
Module 1: Introduction to Web Services
|
1. Web Services Architecture
|
|
Motivation for Web Services
Microsoft .NET Web Services Demo
Interoperability
Hypertext Transfer Protocol (HTTP)
The eXtensible Markup Language (XML)
Interoperability Stacks
The Wire Stack
Simple Object Access Protocol (SOAP)
The Description Stack
Web Service Description Language (WSDL)
The Discovery Stack
Universal Description, Discovery, and Integration (UDDI)
Hosting Web Services
Scenarios
Security Issues
|
2. Data Expression and Messaging in XML
|
|
The XML and Namespaces
The XML Infoset
XML Schema
Document Validation
Simple XML Types
Complex XML Types
Deriving New XML Types
XML Constraints
Associating a Schema with a Document
|
3. Programming XML with the .NET Framework
|
|
Using XmlReader and XmlWriter Derived Classes
XmlTextReader/XmlTextWriter
Navigating with XmlNodeReader
Validating Documents with XmlValidatingReader
Navigating and Modifying with the XmlDocument
Using XmlSerializer to Read and Write Data
Mapping XML Types to CLR Types
The XSD Tool
|
4. Implementing Web Services in the .NET Framework
|
|
Creating Simple Web Services with Internet Information Server
Developing Web Services Using Visual Studio .NET
WebService and WebMethod Attributes
Creating Proxies with WSDL
SOAP Messages
Debugging Web Services
Instrumenting Web Services
WSDL-Generated Server Classes
Exceptions and Web Services
|
Module 2: Implementing Advanced Web Services Using .NET
|
1. The Simple Object Access Protocol (SOAP)
|
|
The SOAP Messaging Model
SOAP Namespaces
The SOAP Envelope
The SOAP Transport Bindings
The Message Header
The Message Body
Data Encoding
SOAP Faults
The SOAP Type Model
Attachments
|
2. SOAP Encoding
|
|
Service Models and Encoding
The Need for an Encoding Standard
WebService, WebMethod and WebServiceBinding Attributes
SoapHttpClientProtocol
Describing Types
Using XML Schema to Validate SOAP Types
Validating SOAP Messages
Document Literal Encoding
Section 5 Encoding
RPC Encoding and XML Serialization
Encoding Single Values
Encoding Structs and Arrays
Multiple Reference Values
|
3. The Web Services Description Language (WSDL) |
|
Motivation for Service Description and the need for Type Information
The WSDL Description Model
Web Services as Component Technology
Validation and Code Generation
WSDL Namespaces
Extending WSDL
Message Description
Service Description
Communication Descriptors
Port Types
Operation Input, Output, and Fault
Operation Types
Bindings
SOAP Binding
Document vs. RPC Binding
Literal vs. Encoding
HTTP Binding
WebServiceBinding Attribute
|
4. Additional .NET Web Service Topics
|
|
Object Identity and Pass By Reference
Implementing SOAP Headers
Web Services Security
.NET Remoting
|
5. The Universal Discovery, Description and Integration (UDDI) Information Model |
|
Publishing Web services
Information, Naming, Discovery and Trading services
UDDI, SOAP and WSDL
UDDI Repositories
Information Model
tModels
Classification and Metamodels
A Taxonomy of Types
UDDI Core tModels
Identification vs. Classification
The businessEntity
The businessService
The bindingTemplate
The tModel
|
System Requirements
Course exercises require Microsoft .NET and Microsoft Visual Studio .NET on Windows 2000. See the appropriate course Setup Guide for details.
A good minimal hardware profile for this course would have a Pentium 500-MHz or equivalent CPU, 256 MB of RAM, and at least 500 MB of free disk space for tools installation and courseware. Network connectivity between the computers is required for some of the demonstrations and labs. Internet connectivity is desirable but not absolutely necessary.
|