Developing Applications Using JAX-WS
Table of Contents
I. Starting from Java Code
1. Developing a Service from a Java Class
Creating the
SEI
Annotating the Code
Required Annotations
Optional Annotations
Generating WSDL
2. Developing a Consumer Without a
WSDL
Contract
Creating a Service Object
Adding a Port to a Service
Getting a Proxy for an Endpoint
Implementing the Consumer's Business Logic
II. Starting from
WSDL
3. A Starting Point
WSDL
Contract
4. Developing a Service Provider From a
WSDL
Contract
Generating the Starting Point Code
Implementing the Service Provider
5. Developing a Consumer From a
WSDL
Contract
Generating the Stub Code
Implementing a Consumer
III. Advanced Programming Tasks
6. Publishing a Service
Generating a Server Mainline
Writing a Server Mainline
7. Developing Asynchronous Applications
WSDL for Asynchronous Examples
Generating the Stub Code
Implementing an Asynchronous Client with the Polling Approach
Implementing an Asynchronous Client with the Callback Approach
8. Using Raw XML Messages
Using XML in a Consumer
Usage Modes
Data Types
Working with
Dispatch
Objects
Using XML in a Service Provider
Messaging Modes
Data Types
Implementing a
Provider
Object
9. Working with Contexts
Understanding Contexts
Working with Contexts in a Service Implementation
Working with Contexts in a Consumer Implementation
Working with
JMS
Message Properties
Inspecting
JMS
Message Headers
Inspecting the Message Header Properties
Setting
JMS
Properties
10. Writing Handlers
Handlers: An Introduction
Developing Logical Handlers
Developing Protocol Handlers
Processing Errors and Exceptions
Configuring Endpoints to Use Handlers
Configuring Handlers on the Server Side
Configuring Handlers on the Client Side
Index
List of Figures
List of Tables
List of Examples