About This Tutorial
Chapter 1: Building Web Services with JAX-WS
Creating a Simple Web Service and Client with JAX-WS
Requirements of a JAX-WS Endpoint
Coding the Service Endpoint Implementation Class
Packaging and Deploying the Service
Web Services Interoperability and JAX-WS
Chapter 2: Binding between XML Schema and Java Classes
Java Representation of XML Schema
Chapter 3: Using JAXB
Configuring and Running the Samples
About the Schema-to-Java Bindings
j2s-xmlAttribute-field Example
j2s-xmlSchemaType-class Example
Chapter 4: Streaming API for XML
Pull Parsing Versus Push Parsing
Comparing StAX to Other JAXP APIs
Choosing Between Cursor and Iterator APIs
Resources, Namespaces, and Errors
Sun's Streaming Parser Implementation
SJSXP Factories Implementation
Configuring Your Environment for Running the Samples
cursor Sample - CursorParse.java
cursor2event Sample - CursorApproachEventObject.java
event Sample - EventParse.java
filter Sample - MyStreamFilter.java
readnwrite Sample - EventProducerConsumer.java
writer Sample - CursorWriter.java
Chapter 5: SOAP with Attachments API for Java
Creating and Sending a Simple Message
Adding Content to the SOAPPart Object
Adding a Document to the SOAP Body
Manipulating Message Content Using SAAJ or DOM APIs
DOMExample.java and DOMSrcExample.java
Chapter 6: Java API for XML Registries
Using Taxonomies in JAXR Clients
Before You Compile the Examples
Using JAXR Clients in Java EE Applications
Coding the Application Client: MyAppClient.java
Coding the PubQuery Session Bean
Starting the Application Server
Running the Application Client
Chapter 7: Java XML Digital Signature API
How XWS-Security and XML Digital Signature API Are Related
Introduction to XML Signatures
XML Digital Signature API Examples
Chapter 8: Securing Web Services
Securing Web Service Endpoints
Advantages of Message Security
Web Services Security Initiatives and Organizations
Using Message Security with Java EE
Using the Application Server Message Security Implementation
Using the Java WSDP XWSS Security Implementation
Index