Learn your way! Get started

Java EE, Part 8: JAX-WS Web Service Controls

with expert Ali Hamad


Course at a glance

Included in these subscriptions:

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

Release date Release date 2/23/2011
Level Level Intermediate
Runtime Runtime 9h 6m
Closed captioning Closed captioning N/A
Transcript Transcript N/A
eBooks / courseware eBooks / courseware Included
Hands-on labs Hands-on labs Included
Sample code Sample code Included
Exams Exams Included


Enterprise Solutions
Enterprise Solutions

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



Course description

In dealing with Java Web services you will need to deal with controls. This course covers many of the important controls that need be configured and managed in order to create a stable and secure JAX-WS environment. This course starts with Java API XML Web Service bindings and then moves on to Simple Object Access Protocols (SOAP). The course will then explore JBoss version 4 support of Web Services and Web Service Security. From there WS-Trust and WS-Federation is covered with claims and tokens. Then Web Services Interoperability (WS-I) is shown and its standards. The course then moves to error handling in dealing with business rule violations and other subjects. The final subjects cover Web Service addressing, reliable messaging and handlers.

Prerequisites

You should know Java programming and have a basic understanding of the JAX-WS.

Learning Paths

This course will help you prepare for the following certifications and exams:
Java EE 5 Web Services Developer
Java EE 6 Web Services Developer
1Z0-862: Java EE 5 Web Services Developer Certified Professional Exam
1Z0-897: Java EE 6 Web Services Developer Certified Expert Exam

This course is part of the following LearnNowOnline SuccessPaths™:
Java Development

Meet the expert

Ali Hamad Ali Hamad has a Bachelor and Masters degree in Computer Science and has been training many aspects of Java for over 14 years, covering Introduction through JDBC, JBoss and beyond. His training and consulting background also covers C, C , Object Oriented Analysis and Design (OOAD), and Unix/Linux. Ali has worked for or been a consultant and trainer for many companies including Dell, Texas Instruments, State of New Hampshire, Web Age Solutions, and many more. He is the author of training material for several programming topics such as Java, Struts, C , Unix and J2EE applications.


Course outline



Module 1

JAX WS Bindings (48:07)
  • Introduction (01:23)
  • Data that binds (01:01)
  • JAXB 2.0 Data Binding (02:07)
  • The JAXB Data Binding Process (01:20)
  • Java Representation: XML Schema (01:06)
  • Default Data Type Bindings (04:16)
  • Data Binding Factories (02:04)
  • Code-first Services (03:27)
  • Schema-first Services (01:46)
  • Schema-first Binding (01:56)
  • Schema-first Advantages (01:46)
  • Customizing JAXB Bindings (01:51)
  • JAXB customization concepts (00:41)
  • Inline & External Customizations (01:04)
  • Passing Customization Files (01:26)
  • Demo: JAX WS Bindings (20:28)
  • Summary (00:17)
JAX WS Advanced Binding (27:00)
  • Introduction (00:21)
  • Scope, Inheritance, and Precedence (00:40)
  • Customization Syntax (01:14)
  • Global Bindings Declarations (00:29)
  • Schema Binding Declarations (00:25)
  • Class Binding Declarations (00:14)
  • Property Binding Declarations (00:31)
  • <javaType> Binding Declarations (00:21)
  • Typesafe Enumeration Binding Declarations (00:39)
  • <javadoc> Binding Declarations (00:18)
  • Customization Namespace Prefix (00:19)
  • Tango - .Net Interoperability (01:29)
  • Demo: Create a web client (19:41)
  • Summary (00:13)

Module 2

SOAP (18:52)
  • Introduction (00:27)
  • SOAP Overview (02:05)
  • SOAP in Protocol Stack (00:25)
  • SOAP Components (01:42)
  • SOAP HTTP Request Example (01:08)
  • SOAP HTTP Response Example (01:11)
  • Message Envelope (00:45)
  • The Header Element (00:41)
  • Header Attributes (00:49)
  • SOAP Body (01:00)
  • SOAP Fault (02:20)
  • Demo: Monitoring SOAP (06:00)
  • Summary (00:13)
SOAP Elements (24:46)
  • Introduction (00:28)
  • Communication Style (03:09)
  • RPC/Encoded Style (00:36)
  • RPC/Literal Style (00:42)
  • Enabling RPC Styles (00:47)
  • Document/Literal Style (01:22)
  • Document/Literal Wrapped Style (01:11)
  • Details of the Wrapped Style (01:21)
  • Enabling Document Literal Style (01:10)
  • Demo: Request and Response (13:35)
  • Summary (00:21)

Module 3

JBoss5 WS Support (17:20)
  • Introduction (00:30)
  • JBoss 5 Introduction (01:44)
  • Service in a Web Container (01:47)
  • Example Java Class (00:53)
  • Generated Artifacts (01:41)
  • JSR 109 Components (01:59)
  • Demo: MySQL Database (08:22)
  • Summary (00:21)
WS Tools (17:47)
  • Introduction (00:26)
  • Using wstools (01:05)
  • Using wstools - Server side (01:36)
  • Using wstools - Sample config.xml (00:40)
  • Web Services Deployment Descriptor (01:40)
  • Example: webservices.xml (01:05)
  • The Generated WSDL File (01:47)
  • The WSDL Editor (01:15)
  • Demo: WSDL Editor (07:55)
  • Summary (00:14)
Deployment Descriptors (24:42)
  • Introduction (00:27)
  • Service in a EJB Container (02:43)
  • Web Services Deployment Descriptor (00:45)
  • Client Development (01:04)
  • Using wstools - sample config.xml (00:24)
  • Generated Artifacts (01:36)
  • The Service Reference (01:01)
  • Demo: Service Reference (16:17)
  • Summary (00:21)

Module 4

WS Security (30:58)
  • Introduction (00:25)
  • The Challenges (02:11)
  • Public Key Infrastructure (01:37)
  • Digital Signature (01:58)
  • Certificates (02:26)
  • Web Services Security (02:21)
  • SOAP Message Security (02:23)
  • Message Integrity (01:52)
  • Message Confidentiality (03:22)
  • Symmetric Encryption Example (01:37)
  • Demo: WS Security (10:24)
  • Summary (00:18)
Authentication (38:48)
  • Introduction (00:27)
  • Authentication Using Identity Token (02:35)
  • Authentication (02:12)
  • Transport Level Security (02:18)
  • Audit Tracking (03:13)
  • Identity Assertion Using SAML (01:32)
  • SAML SOAP Example (01:10)
  • Demo: Security (24:53)
  • Summary (00:23)
WS Trust and Federation (13:03)
  • Introduction (00:32)
  • Review of WS-Security Authentication Model (01:32)
  • How WS-Trust Works (04:39)
  • WS-Federation (02:31)
  • Federation Metadata Example (00:57)
  • Requesting a Token (01:05)
  • Dynamic Conversation (01:24)
  • Summary (00:20)

Module 5

WS Interoperability (40:50)
  • Introduction (00:33)
  • WS-I Introduction (02:45)
  • Goal (02:23)
  • What Comes out of WS-I (01:37)
  • Profiles (01:20)
  • Basic Profile 1.1 Highlights (10:40)
  • Simple SOAP Binding Profile (01:59)
  • Basic Security Profile 1.0 (01:49)
  • .NET Interoperability (02:33)
  • Demo: WS Interoperability (14:38)
  • Summary (00:29)

Module 6

Error Handling (30:24)
  • Introduction (00:29)
  • Error Handling Introduction (02:45)
  • Fault (02:00)
  • Designing Faults (00:51)
  • System Problems (02:39)
  • Business Rule Violation (02:45)
  • Demo: EJB Service (18:30)
  • Summary (00:21)

Module 7

WS Addressing (29:59)
  • Introduction (00:26)
  • What is WS-Addressing (01:24)
  • Long Running Services (04:14)
  • Other Uses of WS-Addressing (01:23)
  • SOAP Header Elements (01:57)
  • Example Client SOAP Request (00:39)
  • Example Callback SOAP Request (00:28)
  • Writing JAX-WS Clients (01:50)
  • JAX-WS/WS-Addressing Example (01:42)
  • Demo: WS Addressing (15:25)
  • Summary (00:26)
JAX-WS-WS-Addressing (37:24)
  • Introduction (00:28)
  • JAX-WS/WS-Addressing Example (01:41)
  • Example: Create Proxy (00:51)
  • Example: Enable WS-Addressing (01:53)
  • Example: Invoke addMovie (01:48)
  • Example: Diagram (01:01)
  • Security and Firewall Issues (01:47)
  • Demo: JAX-WS/WS-Addressing (27:27)
  • Summary (00:24)

Module 8

WS Reliable Messaging (01:14:52)
  • Introduction (00:30)
  • The Problem with HTTP (02:32)
  • Enter WS-ReliableMessaging (01:44)
  • When to Use Reliable Messaging (02:40)
  • How Does WS-RM Work (03:13)
  • Importance of Persistence (02:05)
  • The Problem with Firewall (01:49)
  • How Does WS-MakeConnection Work (03:17)
  • Using WS-MakeConnection (02:13)
  • Demo: WS Reliable Messaging (08:25)
  • Demo: Annotate the WSDL File (30:39)
  • Demo: Publish and Test (15:16)
  • Summary (00:24)

Module 9

WS Handlers (01:11:29)
  • Introduction (00:25)
  • Handlers (01:41)
  • Basic Handler Behavior (02:07)
  • Basic Steps (01:36)
  • JBoss Note (00:24)
  • Handler Classes (03:01)
  • LogicalHandlers (02:32)
  • Protocol Handlers (01:33)
  • Sample Handler (00:30)
  • Get Message Details (00:55)
  • Inbound and Outbound (01:14)
  • Handler Configuration File (01:50)
  • Sampler Handler.xml (01:21)
  • Specify the Handler Chain (01:44)
  • Sample: Using a Handler (00:43)
  • Executing (01:05)
  • Demo: WS Handlers (48:10)
  • Summary (00:29)