09/12/2022 - 09/16/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $2,495.00
Enroll
10/17/2022 - 10/21/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $2,495.00
Enroll
11/14/2022 - 11/18/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $2,495.00
Enroll

Topics

  • XML schema design
  • SOAP
  • WSDL
  • JAXB
  • JAX-WS
  • JAXB and JAX-WS annotations
  • WS-Security
  • Interoperability issues
  • WS-Addressing
  • WS-ReliableMessaging
  • WS-Trust and WS-Federation
  • Deployment in WebSphere

What you will learn

After completing this course, the student should be able to:

  • Confidently design XML schema and WSDL.
  • Tell the difference between different SOAP styles (document literal, RPC literal etc.)
  • Implement a Web Service using RAD 7.5 and WebSphere.
  • Write a Web Services client using standard Java specifications.
  • Register a service in a public or private UDDI registry.
  • Secure web services.
  • Learn the interoperability issues especially with the .NET platform.

Audience

Java EE developers who will like to learn about how to build a Web Services based solution. This class covers many advanced topics that will help them build a solution appropriate for a large business.

Prerequisites

Java programming. Beginner level knowledge of J2EE and XML.

Duration

5 days.

Lab Setup Guide

Outline for Programming JAX-WS Web Services Using Rational Application Developer RAD 7.5 Training

Chapter 1. Java Enterprise Edition (EE) Overview

 
  • Introduction to Java Platform
  • Java Community Process (JCP)
  • Introduction to Java EE
  • Why Move to Java EE
  • Java EE - New and Enhanced Features
  • Java EE Software Packaging
  • Java EE Technologies
  • Summary
 

Chapter 2. Introduction to Rational Application Developer (RAD) v7.5

 
  • The RAD 7.5 Product
  • Eclipse Platform
  • Rational Web Developer
  • Rational Application Developer
  • Key Features in RAD v7.5
  • Views, Perspective, and Editor Areas
  • Basic Operations with RAD Views and Perspectives
  • The Java Perspective
  • The Debug Perspective
  • Navigator View
  • Package Explorer
  • Outline View
  • Task and Problems View
  • Build and Validation
  • Import and Export Project
  • Project Interchange Feature
  • Code Completion, Templates and Snippets
  • Searching
  • Setup Compiler Class Path
  • JRE Switching
  • Migrating Workspace from RAD v6.0 or RAD v7.0
  • Backward Compatibility with RAD v7.0
  • References
  • Summary
 

Chapter 3. Introduction to Web Services

 
  • A Conceptual Look at Services
  • Defining Services
  • Service Communication Analogy
  • Three Key Service Questions
  • Connecting the Dots
  • SOA: Runtime Implementation
  • What Is a Web Service?
  • Enterprise Assets as Services
  • Typical Development Workflow
  • Advantages of Web Services
  • Web Service Business Models
  • Example: Internal System Integration
  • Example: Business Process Externalization
  • Web Services Standards
  • Binding via SOAP
  • SOAP in Protocol Stack
  • SOAP Structure
  • SOAP Message Architecture
  • Applying SOAP
  • Interface via WSDL
  • WSDL Structure
  • Applying WSDL
  • Locating a Service
  • UDDI Overview
  • UDDI Terminology
  • UDDI Structure
  • Applying UDDI
  • WS-I Overview
  • WS-I Deliverables
  • Summary
 

Chapter 4. Basic XML Schemas

 
  • What is XML Schema ?
  • Goals of Schema
  • Converting DTDs to Schema
  • Recall: Namespaces
  • The equivalent schema
  • Sample instance document
  • Documents Needed
  • XML Schema Namespaces
  • Link Documents to Schemas
  • Inline element declarations
  • XSchema Data Types
  • XSchema Type Definitions
  • XSchema Simple Data Types
  • Primitive Data Types
  • Simple Types
  • Facet – Restrictions on Element Content
  • Using the Facet
  • More Samples
  • Define Simple Element Type
  • Element Declaration
  • Element Occurrence Indicators
  • Complex Type
  • Attribute Declaration
  • Attribute Declarations
  • Occurrence of Attributes
  • Value Constraints on Attributes
  • Sequence Element
  • Element Choices
  • Express any order
  • Annotations
 

Chapter 5. Complex Data Types In Schema

 
  • Simple Types
  • Complex Types
  • Complex Type Example
  • Controlling Content
  • <sequence>
  • <choice>
  • <all>
  • Combining It All
  • The XML
  • Anonymous vs. Named
  • Address Example
  • Named Complex Types
  • Named ComplexType Example
  • Using Named Complex Type
  • The XML
  • <xs:any>
  • Summary
 

Chapter 6. The Java Architecture for XML Binding (JAXB)

 
  • Introduction to JAXB
  • Overview of Data Binding
  • JAXB Architecture
  • Binding Example
  • Binding Framework Example
  • Java and XML Mapping Overview
  • Namespace and Package Name Mapping
  • Simple Type Mapping
  • Complex Type Mapping
  • Customizing Complex Type Mapping
  • Property Accessor Customization
  • Property Mapping Customization
  • XML Element Mapping
  • Mapping Java Enums
  • Mapping Collections
  • Generating Java Class and Schema
  • Marshalling and Unmarshalling
  • Summary
 

Chapter 7. Introduction to JAX-WS

 
  • What is JAX-WS?
  • Advantages of JAX-WS
  • Why Do We Need a Programming Model?
  • Basic Java to WSDL Mapping
  • Developing a Service Provider
  • The Service Implementation Class
  • The Service Endpoint Interface (SEI)
  • Service Implementation Options
  • Developing a Consumer
  • Static Client Development
  • The Service Class
  • The BindingProvider Interface
  • Summary
 

Chapter 8. Web Services Description Language (WSDL)

 
  • WSDL Overview
  • WSDL Syntax Overview
  • <definitions>
  • <import>
  • <types>
  • <message>
  • <portType>
  • <operation>
  • <binding>
  • <service>
  • Summary
 

Chapter 9. Simple Object Access Protocol (SOAP)

 
  • SOAP Overview
  • SOAP in Protocol Stack
  • SOAP Document Components
  • Example SOAP Request Document
  • Example SOAP Response Document
  • The <Envelope> Element
  • The <Header> Element
  • The <Body> Element
  • SOAP Communication Style
  • Communication Style Example
  • Setting the Style in WSDL
  • RPC/Encoded Style
  • RPC/Literal Style
  • Document/Literal Style
  • Document/Literal Wrapped Style
  • Summary
 

Chapter 10. Web Services Interoperability (WS-I)

 
  • Introduction
  • Goal
  • What Comes out of WS-I?
  • WS-I Tools
  • Profiles
  • WS-I Messaging
  • Messaging Highlights
  • Service Description
  • Service Description Highlights
  • Service Publication/Discovery
  • Security
  • .NET Interoperability
 

Chapter 11. JAX-WS Mapping Details

 
  • Introduction to Mapping in JAX-WS
  • Top-down and Bottom-up Mapping
  • WSDL to Java Mapping
  • XML Data Type to JavaBean Mapping
  • Mapping <portType> to the SEI
  • Mapping the SOAP <binding>
  • Customizing WSDL to Java Mapping
  • Java to WSDL Mapping
  • JavaBean to XML Mapping
  • Mapping SEI to <portType>
  • Mapping Java Method to <operation>
  • Input Parameter Mapping
  • Method Output Mapping
  • Bare Input and Output Mapping
  • RPC Literal Style
  • Summary
 

Chapter 12. Advanced JAX-WS API

 
  • Publishing a Web Service
  • Web Service Context
  • Message Context
  • Working With Raw XML
  • Raw XML: Server Side
  • XML Handling Strategies
  • Raw XML: Client Side
  • Summary
 

Chapter 13. Error Handling

 
  • Introduction
  • Fault
  • Designing Faults
  • System Problems
  • Business Rule Violation
  • Summary
 

Chapter 14. Building an EJB Based Web Service

 
  • Introduction
  • Why Use EJB as Service Implementation?
  • Implementing EJB Web Service
  • Using a Service Endpoint Interface (SEI)
  • Summary
 

Chapter 15. Managed Web Service Client Binding

 
  • Using a Packaged WSDL
  • Managed Web Service Clients
  • Injecting the Service Port Directly
  • Web Service Administration Tasks
  • Configure Endpoint URL in Consumer Side
  • Configure Endpoint URL in Provider Side
  • Publishing WSDL File
  • Working with Policy Sets
  • Stopping a Service Listener
  • Summary
 

Chapter 16. WS-Addressing

 
  • What is WS-Addressing?
  • WS-Addressing and Long Running Services
  • Other Uses of WS-Addressing
  • WS-Addressing SOAP Header Elements
  • Example Client SOAP Request
  • Example Callback SOAP Request
  • Writing JAX-WS Clients to use WS-Addressing
  • JAX-WS/WS-Addressing Example
  • Security and Firewall Issues
  • Summary
 

Chapter 17. WS-ReliableMessaging

 
  • The Problem with HTTP
  • Enter WS-ReliableMessaging
  • When to Use Reliable Messaging?
  • How Does WS-RM Work?
  • Importance of Persistence
  • The Problem With Firewall
  • How Does WS-MakeConnection Work?
  • Using WS-MakeConnection
  • Summary
 

Chapter 18. Web Services Handlers

 
  • Handlers
  • Basic Handler Behavior
  • Basic Steps
  • JBoss Note
  • Handler Classes
  • LogicalHandlers
  • Protocol Handlers
  • Sample Handler
  • Getting Message Details
  • Inbound and Outbound
  • Handler Configuration File
  • Sampler Handler.xml
  • Specify the Handler Chain
  • Sample: Using A Handler
  • Executing
  • Summary
 

Chapter 19. Using MTOM for Binary Data

 
  • What is MTOM?
  • How MTOM Differs from Previous Approaches
  • Role of XML-binary Optimized Packaging (XOP)
  • Example of MTOM Messages
  • Enabling MTOM on a JAX-WS Service
  • Enabling MTOM on a Client
  • Summary
 

Chapter 20. Web Services Security (WS-Security)

 
  • The Challenges
  • Public Key Infrastructure (PKI)
  • Digital Signature
  • Certificates
  • Overview of Web Services Security
  • SOAP Message Security
  • Message Integrity
  • Message Confidentiality
  • Symmetric Encryption Example
  • Authentication Using Identity Token
  • Authentication
  • Transport Level Security
  • Audit Tracking
  • Identity Assertion Using SAML
  • SAML SOAP Example
 

Chapter 21. WS-Trust and WS-Federation

 
  • Review of WS-Security Authentication Model
  • How WS-Trust Works
  • WS-Federation
  • Federation Metadata Example
  • Requesting a Token
  • Dynamic Conversation
  • Summary
 

Chapter 22. Interoperability of WS-Security

 
  • Interoperability Challenges
  • Recall WS-Security
  • Platform Run-Time Issues
  • Hints
  • Recall: WS-I
  • Basic Security Profile v1.0
  • Using Basic Security Profile 1.0
  • BSP 1.0 Details
  • BSP 1.0 Highlights
  • Summary
 

Chapter 23. WS-Notification

 
  • The Problem with One-to-One Messaging
  • Publish-Subscribe Messaging to the Rescue
  • Enter WS-Notification
  • When to Use WS-Notification
  • WS-Notification Terminology
  • Push and Pull Consumers
  • Push Consumer
  • Pull Consumer
  • Advantages of Using the Pull Consumer
  • Summary
 

Chapter 24. Best Practices

 
  • Architecture Best Practices
  • Data Format Best Practices
  • Security Best Practices
  • Programming Model Best Practices
  • Summary
 

Chapter 25. JEE Application Deployment

 
  • Overview
  • Generate Deployed Code
  • Export EAR
  • Separate Client side code
  • Export EJB Client JAR
  • Export Utility JAR
  • JEE Deployment
  • WebSphere Profiles
  • Creating Profiles for RAD
  • Administrative Console
  • Environment Variable
  • Security
  • Resources
  • Creating JDBC provider
  • Creating Data Source
  • WebSphere MQ JMS Configuration
  • WebSphere MQ JMS Provider
  • Connection Factory
  • Destination
  • Activation Specification
  • Installing Applications
  • Starting an Application
  • Scripting in RAD
  • Script Configuration
  • Command Assistance Notifications
  • Summary