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. 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 first module can be used to provide whatever background is needed for programmers new to the .NET platform, including the essentials of programming in C#. Students already having this knowledge can take the four-day course 485, “Web Services and XML for C# Programmers.”
The first chapter of the second 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 final module explains the Web services architecture on the .NET platform and shows how it relates to the advanced features of Web services.
Web Services Training Learning Objectives
- Gain a working knowledge of C# programming in the .NET Framework
- 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
The only requirement is that students be proficient with an object-oriented-language. No knowledge of COM is required. Familiarity with XML is helpful.
Web Services Training Course duration
5 days
Web Services Training Course outline
Volume 1: Introduction to Programming in the .NET Environment
|
1. .NET Fundamentals
|
|
What is Microsoft .NET?
Common Language Runtime
Attribute Based Programming
Interface Based Programming
Metadata
Common Type System
Framework Class Library
Language Interoperability
Managed Code
Assemblies and Deployment
Web Services
ASP.NET
|
2. C# Basics
|
|
Hello, World
Namespaces
Formatting
Control Structures and Operators
Classes
Exceptions
|
3. .NET Types and C#
|
|
Value and Reference Types
Objects
Conversions
Classes and Structs
Interfaces
Arrays
Delegates
Events
Pointers
Boxing and Unboxing
|
4. C# and the .NET Framework
|
|
Copying and ICloneable
Collections and the Collection Interfaces
File Input and Output in .NET
Serialization
Debugging and Tracing
|
5. Object-Oriented Programming in C#
|
|
Single Inheritance Model
Accessors, Properties and Indexers
Access Control
Constructors
Virtual Functions and Polymorphism
Abstract Classes
Reflection
|
Volume 2, 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 eXtended 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 a 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
|
Volume 2, 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 500MHz or equivalent CPU, 256 MB of RAM and at least 500 megabytes 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.
|