Web Services Training Overview
This course provides a realistic, hands-on, comprehensive coverage of developing Web services using ASP.NET and Visual Basic. Web services are an evolving series of standards that enable programs on various computers to communicate with other programs on similar or disparate computers transparently over the Internet. This course teaches in detail the skills needed to program Web services using ASP.NET. It also examines the fundamentals of SOAP and WSDL essential for creating interoperable Web services. The course is current to .NET 3.5 and Visual Studio 2008, with coverage of newer features such as the WS-I Basic Profile 1.1, SOAP 1.2, event pattern for calling Web services asynchronously, and more. It also includes an introduction to Windows Communication Foundation (WCF), Microsoft’s modern unified framework for creating distributed applications.
Web Services Training Audience
Programmers needing to integrate Web Services
Web Services Training Prerequisites
Knowledge of the .NET Framework using Visual Basic and an understanding of the fundamentals of XML. Some experience in ASP.NET is advantageous
Web Services Training Course duration
4 Days
Web Services Training Course outline
What Are Web Services?
What is a Web Service?
Why are Web Services Needed?
Distributed Object Computing
Major Players in Web Services
Web Services Interoperability
Benefits of Web Service Integration
SOAP
UDDI
Web Services Business Models
Business Models Classified
Service Oriented Architecture (SOA)
Services Are Independent
ASP.NET Web Services
Alternative Technologies
Web Service Enhancements 3.0
Windows Communication Framework
Web Services Fundamentals
Understanding Web Services
Internet Information Services
Internet Services Manager
Virtual Directory
Anonymous Access
IIS Applications
An Echo Web Service
Echo Web Service Using ASP.NET
SOAP Request
Testing the Web Service
HTTP POST Request
Hypertext Transfer Protocol (HTTP)
HTTP Headers and Content
HTTP Methods
XML
SOAP-Based Web Services
Messaging Models
Messaging Over the Web
The SOAP Messaging Model
SOAP Namespaces
The SOAP Envelope
The Message Header
Header Entry Attributes
The Message Body
Service Descriptions
Web Services Description Language
Viewing WSDL
Using WSDL
wsdl.exe in .NET SDK
Developing ASP.NET Web Services
Developing Web Services in Visual Studio 2008
Code for a Simple Web Service
Hello World Web Service
Concatenate Web Service
WebService Directive
Service.vb
System.Web.Services Namespace
WebService Attribute
WebMethod Attribute
BufferResponse
MessageName
Turning Off Conformance Checking
WS-I Basic Profile
ASP.NET Configuration
Multi-level Configuration
Configuration Hierarchy
WebService Class
Web Service Clients
Protocols
Accessing a Web Service
Creating a Proxy
Creating a Proxy using wsdl.exe
Exploring the Generated Proxy Code
Console Client Test Program
Creating a Proxy via Visual Studio
ASP.NET Web Services Programming Model
Asynchronous Programming in Web Services
Begin and End Asynchronous Methods
Using a Callback Delegate
Asynchronous Events in .NET 2.0
State Management in ASP.NET
Application and Session Objects
Session Management
Application Management
ASP.NET Web Services Transactions
Caching: An Overview
Data to be Cached – Time Frame
Output Caching
Debugging
Debugging a Web Service
Enable Debugging in Web.config
Deploying a Web Service
XML Serialization
Serialization in .NET
CLR Serialization
Circular List and XML Serialization
XML Serialization Infrastructure
What Will Not Be Serialized
XML Schema
XSD Tool
The XML Designer
A More Complex Schema
A Car Dealership
Deserializing According to a Schema
Type Infidelity
Customizing XML Serialization
XML Serialization and Web Services
More About SOAP
The SOAP Messaging Model
SOAP Namespaces
The SOAP Envelope
The Message Header
Using SOAP Headers in .NET
Using SOAP Headers on the Client
Call Body
Response Body
Returning Errors
Document Style Web Services
Document vs. RPC Style
Wrapped vs. Bare Style
Literal vs. Encoded Use
SOAP 1.2
Specifying the Transport Protocols
Making a Request Using SOAP 1.2
More About WSDL
SOAP-Based Web Services
Component-Based Software
Component Models
Web Services as Components
A World without Type Information
The Need for Service Description
An IDL for Web Services
Web Services Description Language
WSDL Namespaces
The WSDL Description Model
A Bird’s Eye View
WSDL Descriptors as Schema
The Schema for WSDL Descriptors
Associations between Components
Interface Description
Messaging Scenarios
Operations: Input, Output, and Fault
Messages
Service Description
Extending WSDL
The Binding Component
A Structural Pattern
The SOAP Binding
Document vs. RPC Style
Encoded vs. Literal Use
Using WSDL Files
An Abstract Class
Implementing the Web Service
WSDL First!
WSDL Support in .NET
WSDL Viewer Tool
WSDL Viewer Source Code
Data Access with Web Services
Multiple-Project Solutions
A Windows Application Client Project
Adding a Web Reference
Multiple Projects in Solution Explorer
Implementing a Client Proxy
Multiple-Tier Data Access
A Data Access Web Service
An Enhanced Web Service
Client for Enhanced Web Service
Objects in a ListBox
Web Services Pass Data
LocalCourse
Client Code
Type Information in Web Services
Type Information as XML Schema
Typed DataSets in Web Services
Adding a Typed DataSet
Returning a Typed DataTable
Binding to a Web Service
Troubleshooting Tip
Introduction to WCF
What is WCF?
WCF Services
Service Orientation
WCF and Web Services
WCF = ABC
Address, Binding, Contract
Hosting Services
A Website for the Service
Service Configuration
Configuration Details
Examining the Service in the Browser
WCF Clients
Creating WCF Clients
Add Service Reference Dialog
Interop with ASMX Web Services
EchoService20
EchoServiceASMX
.Net 2.0 Client
EchoService
EchoClient35 Code
Data Contract
Operation Contract
Client Program
Deploying a WCF Web Service
Appendix A: Learning Resources
Appendix B: Configuring IIS for ASP.NET
ASP.NET Versions Side-by-Side
Configuring for ASP.NET 2.0
Installing ASP.NET
|