Spring Web Services

Reference Documentation

Arjen Poutsma

Version 1.0-m4-SNAPSHOT

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.

(Work in progress)


Table of Contents

Preface
1. Introduction
Overview
Why Spring Web Services?
Spring-WS is meant for Public Web Services
Spring-WS makes Web Services First Class Citizens of the Architecture
Spring-WS is Data-Driven
Spring-WS Focusses on Contract-first Development
2. Document-driven Web services with Spring-WS
3. Using Spring Web Services on the Client
Introduction
Using the client-side API
WebServiceTemplate
Sending and receiving a WebServiceMessage
Marshalling, sending, receiving, and unmarshalling
WebServiceMessageCallback
4. Securing your Web services with Spring-WS
Introduction
XwsSecurityInterceptor
Key stores
KeyTool
KeyStoreFactoryBean
KeyStoreCallbackHandler
Authentication
Plain Text Username Authentication
Digest Username Authentication
Certificate Authentication
Digital Signatures
Verifying Signatures
Signing Messages
Encryption and Decryption
Decryption
Encryption
5. Marshalling XML using O/X Mappers
Introduction
Marshaller and Unmarshaller
Marshaller
Unmarshaller
XmlMappingException
Using Marshaller and Unmarshaller
JAXB
Jaxb1Marshaller
Jaxb2Marshaller
Castor
CastorMarshaller
Mapping
XMLBeans
XmlBeansMarshaller
JiBX
JibxMarshaller
XStream
XStreamMarshaller
Bibliography