Learn your way! Get started

Building Web Services Using Visual Basic 2005

with expert Barry Solomon


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 1/17/2007
Level Advanced
Runtime 9h 10m
Closed captioning N/A
Transcript N/A
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included
Platform Internet Explorer Only


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

In this course, you will build a solid foundation for the development of Web Services using Visual Basic 2005 and gain an understanding of how commonly used protocols can impact your development effort. You will learn how to create and consume ASP.NET Web Services, work with XML serialization, and understand discovery and UDDI. You will also learn how current and evolving standards, such as Web Service Enhancements (WSE) 3.0 and Message Transmission Optimization Mechanism (MTOM), can be integrated in Web Service development. Discover how to secure your Web Services using different technologies like X.509 certificates and Kerberos. Learn how to increase reliability of your XML messages by locating bottlenecks and invoking delivery verification.

Prerequisites

This course assumes that students have some programming background using Visual Basic 2005 and Visual Studio 2005. Students are expected to have a working knowledge of Web development and ASP.NET 2.0.

Meet the expert

Barry Solomon has over 23 years of experience as a consultant. He has developed with Fortran, C, C , Visual Basic, Java, and Visual C#. His extensive database experience includes working with Microsoft Access, Microsoft SQL Server, MySQL, and Oracle. His expertise now includes working with big data, Hadoop in particular, and all of its attending ecosystems as the limitations have been exceeded in most modern database systems.

Course outline



Module 1

Intro to Web Services (18:32)
  • Introduction (01:14)
  • Overview: Web Services (03:05)
  • Web Service Technologies (01:52)
  • XML Data Representation (01:45)
  • SOAP (00:38)
  • Pub / Discovery Standards (01:11)
  • Web Service Design (00:54)
  • Use VS to Create WS (00:29)
  • Web Methods (00:32)
  • Web Service Namespace (00:30)
  • Demo: Create a WS (01:49)
  • Test the WS (00:20)
  • WSDL Files (00:35)
  • Demo: Test the WS (00:38)
  • View the WSDL File (01:20)
  • Test the Web Method (00:26)
  • View the SOAP Packets (00:53)
  • Summary (00:13)
Web Service Example (36:39)
  • Introduction (00:43)
  • WS Example Details (04:32)
  • Test the WS (00:42)
  • Investigate the WSDL (02:57)
  • Test Web Methods (03:27)
  • Web Service Clients (01:12)
  • Web Reference (00:52)
  • Files VS Adds to WS (01:24)
  • Invoke the WS (00:55)
  • Demo: Add a Reference (03:46)
  • View the .discomap File (00:38)
  • View the .wsdl File (00:25)
  • Client App Code (03:05)
  • Invoke Web Method Code (01:12)
  • Test the Client (03:29)
  • UDDI (02:25)
  • Demo: Use a Public WS (04:08)
  • Summary (00:39)
Creating Async Web Services (28:07)
  • Introduction (01:28)
  • The Need for Async WS (04:34)
  • One-Way Methods (01:25)
  • Async Web Methods (01:35)
  • Demo: Async Methods (06:08)
  • Call Web Methods Async. (00:27)
  • Callback Methods (03:49)
  • Demo: Calling WS Async (08:15)
  • Summary (00:22)
Async Calls / WaitHandles (14:51)
  • Introduction (00:46)
  • Overview (01:31)
  • Demo: Async Processing (03:35)
  • AsyncResult Properties (01:24)
  • Async Calls using Polling (01:37)
  • Demo: Calls using Polling (02:47)
  • Things to Note (02:19)
  • Summary (00:48)

Module 2

XML Serialization (36:52)
  • Introduction (00:58)
  • Overview: Serialization (02:44)
  • Demo: Serialize a Class (02:47)
  • View a Serialized File (00:55)
  • Work with XML Serialization (01:31)
  • Demo: Serialize an Object (01:02)
  • Demo: Deserialize an Object (01:04)
  • Code: Serialize an Object (04:39)
  • Code: Deserialize an Object (03:53)
  • More Complex Data (00:53)
  • View Other Classes (00:33)
  • xmlAttributeAttribute (02:15)
  • xmlArrayAttribute (01:32)
  • Inheritance / Serialization (04:03)
  • Demo: More Complex Data (04:07)
  • WS Custom Serialization (00:37)
  • Demo: WS Serialization (02:50)
  • Summary (00:19)
SOAP Formatting (19:24)
  • Introduction (00:55)
  • Overview: SOAP Formatting (01:42)
  • Basic SOAP Manipulation (02:57)
  • SOAPAction Attribute (00:56)
  • SOAP Encryption (01:25)
  • X509 Certificates (01:33)
  • Security Tokens (00:50)
  • Kerberos Tickets (01:28)
  • Custom Security (01:07)
  • Context Token Prog. (00:53)
  • Namespaces / Binding (02:13)
  • WebServicesBinding Attrib. (02:57)
  • Summary (00:23)
SOAP Serialization (17:13)
  • Introduction (01:10)
  • Using Attributes (01:38)
  • Simple Web Method (01:43)
  • Demo: Sample WS (04:53)
  • Configuration Files (03:51)
  • Add / Remove Protocols (02:56)
  • Summary (00:59)
Implementing WSE Security (18:33)
  • Introduction (01:01)
  • Overview WSE3.0 (03:10)
  • Demo: Install WSE3.0 (01:40)
  • Examine WSE3.0 (01:14)
  • WSE3.0 Tool (01:42)
  • WSE3.0 Security (00:56)
  • Demo: WSE3.0 Tool (01:32)
  • WSE Security Wizard (03:51)
  • View New Policy File (01:32)
  • View web.config file (01:03)
  • Summary (00:47)

Module 3

Security Models (34:14)
  • Introduction (00:34)
  • X.509 Certificates (00:50)
  • Client Side (00:32)
  • Server Side (00:42)
  • Policy Assertion (00:55)
  • Client Configuration (01:00)
  • Demo: Create Certificates (02:09)
  • Run Certificate Manager (04:03)
  • X.509 Cert. Settings (01:25)
  • Service Configuration (00:37)
  • Demo: Service Config (04:34)
  • Kerberos (01:26)
  • Kerberos Client Config. (01:05)
  • Demo: Client Config (04:11)
  • Kerberos Service Config. (01:06)
  • Demo: Server Config (03:14)
  • Set up Web Service (05:06)
  • Summary (00:36)
UserName Authentication (24:47)
  • Introduction (01:05)
  • UserName Tokens (01:24)
  • Client Configuration (00:44)
  • Set Up Client Config (00:22)
  • Add a Policy (00:21)
  • Secure a Client (00:52)
  • Set up Protection Order (01:27)
  • Add Reference (00:22)
  • Service Configuration (01:01)
  • Set up Service Config. (00:34)
  • Secure a Service (00:06)
  • Perform Authorization (01:30)
  • Add Protection Order (01:06)
  • View the Policy File (00:39)
  • View / Run Client Application (04:00)
  • Database Use (02:11)
  • Config. a Web Service (00:15)
  • SecurityTokenManager (02:52)
  • Setup Custom Class (03:15)
  • Summary (00:32)
Coding and Assertion (41:53)
  • Introduction (01:04)
  • Coding an Assertion (01:59)
  • Code: Assertion Class (02:12)
  • ReadXML (02:19)
  • GetExtensions (01:23)
  • ProcessMessage (00:28)
  • Coding SOAP Filters (00:58)
  • Securing of SOAP Messages (00:54)
  • ReceiveSecurityFilter (01:04)
  • SendSecurityFilter (03:23)
  • Code: Setup Filters (00:17)
  • Code: Security Filters (02:44)
  • Security Token State (01:36)
  • Code: Server Output Filter (02:16)
  • Code: Client Output Filter (02:43)
  • Code: Client Input Filter (03:27)
  • Code: SecurityPolicyAssertion (01:08)
  • Code: Function Overrides (09:54)
  • Review (00:43)
  • Client-side Security (00:53)
  • Summary (00:18)

Module 4

Custom Policies (24:07)
  • Introduction (00:57)
  • Use a Custom Policy (01:20)
  • Policy Files (01:33)
  • Extensions (01:21)
  • Secure WS with Assertions (01:58)
  • Custom Assertion Class (01:56)
  • View Filters (02:53)
  • Web Client with Assertions (02:43)
  • Secure WS with Policy (01:04)
  • Coding of Policies (01:40)
  • Demo: Coding of Policies (00:42)
  • x509TokenProvider (00:40)
  • EndpointProtection (00:12)
  • SignatureOptions (00:51)
  • MessageProtection (00:14)
  • Add the Assertion (00:38)
  • View Client Class Code (02:35)
  • Summary (00:42)
Exploring MTOM (17:31)
  • Introduction (01:09)
  • Overview: MTOM (01:34)
  • MTOM Structure (02:37)
  • MTOM uses XOP (01:27)
  • Use / Non-use of MTOM (01:59)
  • Non-use of MTOM (00:21)
  • Use of MTOM (02:33)
  • MTOM and WSE3.0 (05:18)
  • Summary (00:29)
Large Data Transfer (26:39)
  • Introduction (00:46)
  • Overview (01:29)
  • Demo: Large Data Transfer (05:30)
  • Step through Code (02:49)
  • Stream / Not To Stream (02:18)
  • Complex Data Transfer Code (05:25)
  • Work with Schema Code (00:56)
  • Work with XML Code (03:32)
  • Demo: Complex Data Trans. (03:08)
  • Summary (00:40)
SOAP Messaging (27:34)
  • Introduction (00:56)
  • TCP / Web Services (01:50)
  • W3C Specs for Messaging (01:44)
  • Endpoint Reference (02:06)
  • SOAP Message Addressing (02:12)
  • SoapMSMQ (02:05)
  • Two-Way Messaging (03:24)
  • Register Messaging Services (00:38)
  • Register Using TCP (00:51)
  • Register Using HTTP (01:37)
  • Install MSMQ (01:14)
  • Use SoapClient/SoapMSMQ (08:30)
  • Summary (00:21)

Module 5

SOAP Sender / Receiver (27:29)
  • Introduction (00:36)
  • Overview (00:26)
  • One-Way Messaging (01:21)
  • Register the SoapReceiver (02:11)
  • Demo: Register with TCP (04:55)
  • Code: Register with TCP (05:31)
  • Serialization Code (01:18)
  • Code: Start Up Form (03:28)
  • Code: Listener Class (03:48)
  • Code: Receiver Form (03:30)
  • Summary (00:20)
SOAP Headers (25:41)
  • Introduction (00:49)
  • Overview (01:22)
  • Service Code (01:09)
  • SOAP Header Service Code (04:06)
  • Client Code (02:03)
  • SOAP Header Direction (01:26)
  • Header Direction Code (01:51)
  • View WSDL File (01:46)
  • Unknown Headers (00:49)
  • Client SOAP Headers (01:18)
  • SOAP Header Exceptions (01:04)
  • Unknown Header Code (02:15)
  • Header Exception Code (02:38)
  • Client Coding (02:39)
  • Summary (00:20)
SOAP Extensions (27:37)
  • Introduction (00:57)
  • Overview: Functions (03:41)
  • Working with Streams (03:06)
  • Initialization (04:17)
  • Processing (04:02)
  • Web Method Attributes (00:40)
  • SOAPMessageStage Code (04:18)
  • Implementing Extensions (01:38)
  • Config. File Elements (01:56)
  • soapExtensionType Code (02:19)
  • Summary (00:39)

Module 6

Reliable Messaging (32:17)
  • Introduction (00:58)
  • Overview (02:59)
  • WS-RM Model (03:56)
  • RM Modes (00:37)
  • QueuedRM (03:07)
  • DirectRM (01:45)
  • RM Sequences (00:56)
  • Demo: Client Policy File (06:47)
  • Sequence Profiles (00:45)
  • Demo: Server Policy File (03:57)
  • Sequence Groups (00:44)
  • Sequence Managers (03:44)
  • RM Wrap-up (01:39)
  • Summary (00:17)
WS RM Server (31:15)
  • Introduction (00:50)
  • Queue Bottlenecks (02:27)
  • Delivery Verification (01:27)
  • WS-RM Policy (02:13)
  • Sequence Acknowledgement (01:24)
  • Request Acknowledgement (00:36)
  • WS-RM Event Flow (01:08)
  • Correlating Replies (01:52)
  • Demo: Messaging Sample (02:23)
  • Demo: Server App Code (01:14)
  • IDuplexSequenceManager (04:03)
  • IInputSequence (00:54)
  • IOutputSequence (04:03)
  • View App Output (06:20)
  • Summary (00:14)
WS RM Client (10:57)
  • Introduction (00:28)
  • Demo: Client App Code (00:43)
  • Retrieve Endpoints (01:20)
  • CreateSequence (01:57)
  • FullSequenceWasAcked (04:57)
  • FullSequenceWasDelivered (01:03)
  • Summary (00:26)
Authentication and Validation (07:55)
  • Introduction (00:36)
  • MQ Encryption (00:59)
  • MQ Authentication (04:07)
  • Message Validation (01:48)
  • Summary (00:22)