Spring Web Services - Reference Documentation

Authors

Arjen Poutsma, Rick Evans

1.0-rc1-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.


Preface
I. Introduction
1. What is Spring Web Services?
1.1. Introduction
1.2. Runtime environment
2. Why Contract First?
2.1. Introduction
2.2. Object/XML Impedance Mismatch
2.2.1. XSD extensions
2.2.2. Unportable types
2.2.3. Cyclic graphs
2.3. Contract-first versus Contract-last
2.3.1. Fragility
2.3.2. Performance
2.3.3. Versioning
3. Writing Contract-First Web Services
3.1. Introduction
3.2. Messages
3.2.1. Holiday
3.2.2. Employee
3.2.3. HolidayRequest
3.3. Data Constract
3.4. Service contract
3.5. Creating the project
3.6. Implementing the Endpoint
3.6.1. Handling the XML Message
3.6.2. Routing the Message to the Endpoint
3.7. Publishing the WSDL
II. Reference
4. Shared components
4.1. Web service messages
4.1.1. WebServiceMessage
4.1.2. SoapMessage
4.1.3. Message Factories
4.1.3.1. SaajSoapMessageFactory
4.1.3.2. AxiomSoapMessageFactory
5. Document-driven Web services with Spring-WS
6. Using Spring Web Services on the Client
6.1. Introduction
6.2. Using the client-side API
6.2.1. WebServiceTemplate
6.2.1.1. Transports
6.2.1.2. Message factories
6.2.2. Sending and receiving a WebServiceMessage
6.2.3. Marshalling, sending, receiving, and unmarshalling
6.2.4. WebServiceMessageCallback
7. Securing your Web services with Spring-WS
7.1. Introduction
7.2. XwsSecurityInterceptor
7.3. Key stores
7.3.1. KeyTool
7.3.2. KeyStoreFactoryBean
7.3.3. KeyStoreCallbackHandler
7.4. Authentication
7.4.1. Plain Text Username Authentication
7.4.1.1. SimplePasswordValidationCallbackHandler
7.4.1.2. AcegiPlainTextPasswordValidationCallbackHandler
7.4.1.3. JaasPlainTextPasswordValidationCallbackHandler
7.4.2. Digest Username Authentication
7.4.2.1. SimplePasswordValidationCallbackHandler
7.4.2.2. AcegiDigestPasswordValidationCallbackHandler
7.4.3. Certificate Authentication
7.4.3.1. KeyStoreCallbackHandler
7.4.3.2. AcegiCertificateValidationCallbackHandler
7.4.3.3. JaasCertificateValidationCallbackHandler
7.5. Digital Signatures
7.5.1. Verifying Signatures
7.5.1.1. KeyStoreCallbackHandler
7.5.2. Signing Messages
7.5.2.1. KeyStoreCallbackHandler
7.6. Encryption and Decryption
7.6.1. Decryption
7.6.1.1. KeyStoreCallbackHandler
7.6.2. Encryption
7.6.2.1. KeyStoreCallbackHandler
8. Marshalling XML using O/X Mappers
8.1. Introduction
8.2. Marshaller and Unmarshaller
8.2.1. Marshaller
8.2.2. Unmarshaller
8.2.3. XmlMappingException
8.3. Using Marshaller and Unmarshaller
8.4. JAXB
8.4.1. Jaxb1Marshaller
8.4.2. Jaxb2Marshaller
8.5. Castor
8.5.1. CastorMarshaller
8.5.2. Mapping
8.6. XMLBeans
8.6.1. XmlBeansMarshaller
8.7. JiBX
8.7.1. JibxMarshaller
8.8. XStream
8.8.1. XStreamMarshaller
III. Other Resources
Bibliography