Web Services Training Overview|
This course goes beyond basic Web Service development and covers advanced topics such as Atomic Transaction, MTOM and Reliable Messaging. If you have already implemented Web Services based application interaction, you will be able to make them more reliable and fault resistant using the techniques mentioned in this class.
This class is meant for the Java developers. If you are already familiar with the JAX-RPC programming model, you will benefit from the coverage of the new JAX-WS API.
Web Services Training Audience
J2EE 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.
Web Services Training Prerequisites
Previous experience with Web Services is necessary. Students should know SOAP, WSDL and how to develop a basic Web Service. Web Services Development Using RAD v7.0 is highly recommended.
Web Services Training Tools Used
The class currently uses IBM tooling for the labs. The concept and theory are vendor neutral. If you wish to take the class using a non-IBM tool please let us know.
Web Services Training Topics
Web Services Training Course duration
- Web Services Atomic Transaction (WS-AtomicTransaction).
- Web Services Reliable Messaging (WS-RM)
- Web Services Addressing (WS-Addressing)
- SOAP Message Transmission Optimization Mechanism (MTOM)
- Web Services Secure Conversations (WS-SC)
- Streaming API for XML (StAX 1.0)
Web Services Training Course outline
1. Introduction to JAX-WS
2. Java and WSDL Mapping
- What is JAX-WS?
- Why use JAX-WS?
- Standardized WSDL to Java mapping
- Relationship with JAX-B.
- The handler framework
- How does JAX-WS based programming work? Top down, bottom up.
- Annotation based development
- Basic service provider annotations
- Example Web Service provider.
- Basic service consumer annotations
- Example Web Service consumer.
3. Web Services Policy Framework (WS-Policy)
- Mapping Java service provider to generated WSDL
- Advanced service provider annotations
- Mapping WSDL to generated Java class
- JAXB type mapping
- Advanced client annotations
- Modeling asynchronous operation calls
4. Web Services Atomic Transaction (WS-AtomicTransaction).
- What is WS-Policy?
- Example use in real life
- Policy assertion
- Policy alternative
- Policy expression
- Policy operators
- Policy intersection
- Relationship with WS-Security, WS-Transaction,
5. Web Services Reliable Messaging (WS-RM)
- What is WS-AtomicTransaction?
- Why do we need WS-AtomicTransaction?
- How Two Phase commit works in WS-AtomicTransaction?
- How transaction faults are handled?
- Security issues and what to do about them.
- Integration scenario: Web Services and .NET.
- Integration scenario: Web Services and WebLogic.
- Integration scenario: Web Services and GlassFish.
6. Web Services Addressing (WS-Addressing)
- What is messaging?
- Why do we need the messaging pattern? Asynchronous and ensured
- Introduction to WS-RM
- The architecture of WS-RM
- Guaranteed delivery support
- Duplicate elimination support
- Message ordering support
- Asynchronous messaging support
- Example use case
7. SOAP Message Transmission Optimization Mechanism (MTOM)
- What is WS-Addressing?
- Why do we need WS-Addressing?
- Endpoint reference SOAP extension
- Reference properties
- Message information header
- A reply message for a WS-Addressing enabled SOAP request
- Associating action with a WSDL operation
- Handling faults
- Security issues and how to deal with them
8. Web Services Trust (WS-Trust)
- What is MTOM?
- What can you achieve with MTOM?
- SOAP Transmission Optimization
- MIME Multipart/Related Serialization of SOAP Messages
9. Web Services Secure Conversations (WS-SC)
- What is WS-Trust?
- Why do we need WS-Trust?
- The WS-Trust architecture (how does it work?)
- Security token framework
- Requesting a trust token
- Returning a trust token
- Renewing trust token
- Error handling
10. Streaming API for XML (StAX 1.0)
- What is a conversation?
Why WS-Security is not enough to
- What does WS-SC secure a conversation?
- Security context token (SCT)
- Relationship with WS-Trust
- Establishing a security context
- How SCT is propagated?
- Renewing a context
- Canceling a context
- Deriving keys
- Associating a security context
- Error handling
- Potential security issues
Appendix A. SOAP with Attachments API for Java (SAAJ 1.3)
- How does streaming work in Web Service
- Practical use cases of streaming
- Introduction to StAX
- The StAX API
- What is SAAJ
- Practical use of SOAP attachments
- Comparison with MTOM.
- Writing a SAAJ web service
- Writing a SAAJ consumer