
Spring Web Services 2 Cookbook.
Title:
Spring Web Services 2 Cookbook.
Author:
Sattari, Hamidreza.
ISBN:
9781849515832
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (367 pages)
Contents:
Spring Web Services 2 Cookbook -- Table of Contents -- Spring Web Services 2 Cookbook -- Credits -- About the Authors -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Building SOAP Web-Services -- Introduction -- Using Maven for building and running a Spring-WS project -- Getting ready -- How to do it... -- How it works... -- Creating a data contract -- Getting ready -- How to do it... -- How it works... -- Setting up a Web-Service using DispatcherServlet -- Getting ready -- How to do it... -- How it works... -- See also -- Simplifying the creation of a Web-Service using MessageDispatcherServlet -- Getting ready -- How to do it... -- How it works... -- See also -- Setting up a Web-Service on JMS transport -- Getting ready -- How to do it... -- How it works... -- See also -- Setting up a Web-Service on E-mail transport -- Getting ready -- How to do it... -- How it works... -- See also -- Setting up a Web-Service on embedded HTTP transport -- Getting ready -- How to do it... -- How it works... -- Setting up Spring-WS on XMPP transport -- Getting ready -- How to do it... -- How it works... -- See also -- Setting up a contract-first Web-Service -- Getting ready -- How to do it... -- How it works... -- See also -- Setting up a simple endpoint mapping for the Web-Service -- Getting ready -- How to do it... -- How it works... -- See also -- Setting up an endpoint by annotating the payload-root -- Getting ready -- How to do it... -- How it works... -- See also -- Setting up a transport-neutral WS-Addressing endpoint -- Getting ready.
How to do it... -- How it works... -- See also -- Setting up an endpoint using an XPath expression -- Getting ready -- How to do it... -- How it works... -- See also -- Handling the incoming XML messages using DOM -- Getting ready -- How to do it... -- How it works... -- See also -- Handling the incoming XML messages using JDOM -- Getting ready -- How to do it... -- How it works... -- See also -- Handling the incoming XML messages using JAXB2 -- Getting ready -- How to do it... -- How it works... -- See also -- Validating the XML messages at the server side using an interceptor -- Getting ready -- How to do it... -- How it works... -- See also -- 2. Building Clients for SOAP Web-Services -- Introduction -- Setting up a Web-Service client development environment within Eclipse -- Getting ready -- How to do it... -- How it works... -- See also -- Setting up a Web-Service client development environment using Maven -- Getting ready -- How to do it... -- How it works... -- See also -- Creating a Web-Service client on HTTP transport -- Getting ready -- How to do it... -- How it works... -- See also -- Creating a Web-Service client on JMS transport -- Getting ready -- How to do it... -- How it works... -- See also -- Creating a Web-Service client on E-mail transport -- Getting ready -- How to do it... -- How it works... -- See also.. -- Setting up a Web-Service on XMPP transport -- Getting ready -- How to do it... -- How it works... -- See also -- Creating a Web-Service client using XPath expressions -- Getting ready -- How to do it... -- How it works... -- See also -- Creating a Web-Service client for a WS-Addressing endpoint -- Getting ready -- How to do it... -- How it works... -- See also -- Transforming a Web-Service message using XSLT -- Getting ready -- How to do it... -- How it works... -- See also -- 3. Testing and Monitoring Web-Services.
Introduction -- Integration testing using Spring-JUnit support -- Getting ready -- How to do it... -- How it works... -- See also -- Server-side integration testing using MockWebServiceClient -- Getting ready -- How to do it... -- How it works... -- See also -- Client-side integration testing using MockWebServiceServer -- Getting ready -- How to do it... -- How it works... -- See also -- Monitoring TCP messages of a Web-Service using TCPMon -- Getting ready -- How to do it... -- How it works... -- See also -- Monitoring and load/functional testing of a Web-Service using soapUI -- Getting ready -- How to do it... -- How it works... -- See also -- 4. Exception/SOAP Fault Handling -- Introduction -- Handling server-side exceptions by returning the exception's message as a SOAP fault string -- Getting ready -- How to do it... -- How it works... -- See also -- Mapping exception class names to SOAP faults -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Annotating exception classes with @SOAPFault -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Writing your own exception resolvers in Spring-WS -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- 5. Logging and Tracing of SOAP Messages -- Introduction -- Logging message payload manually -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Logging both request and response SOAP Envelopes using log4j -- Getting ready -- How to do it... -- How it works... -- See also -- Logging both request and response using Spring-WS's Interceptors -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using Eclipse IDE to debug a Spring-WS -- Getting ready -- How to do it... -- How it works... -- There's more...
6. Marshalling and Object-XML Mapping (OXM) -- Introduction -- Marshalling with JAXB2 -- Getting ready -- How to do it... -- How it works... -- Marshalling with XMLBeans -- Getting ready -- How to do it... -- How it works... -- There's more... -- Marshalling with JiBX -- Getting ready -- How to do it... -- How it works... -- There's more... -- Marshalling with XStream -- Getting ready -- How to do it... -- How it works... -- Marshalling with MooseXML -- Getting ready -- How to do it... -- How it works... -- Creating a custom marshaller using XPath for conditional XML parsing -- Getting ready -- How to do it... -- How it works... -- 7. Securing SOAP Web-Services using XWSS Library -- Introduction -- Authenticating a Web-Service call using plain/digested username token -- Getting ready -- How to do it... -- How it works... -- See also... -- Authenticating a Web-Service call using Spring security to authenticate a username token with a plain/digested password -- Getting ready -- How to do it... -- How it works... -- See also... -- Authenticating a Web-Service call using a JAAS service to authenticate a username token -- Getting ready -- How to do it... -- How it works... -- See also... -- Preparing pair and symmetric keystores -- Getting ready -- How to do it... -- How it works... -- See also... -- Securing SOAP messages using digital signature -- Getting ready -- How to do it... -- How it works... -- See also... -- Authenticating a Web-Service call using X509 certificate -- Getting ready -- How to do it... -- How it works... -- See also... -- Encrypting/decrypting of SOAP messages -- Getting ready -- How to do it... -- How it works... -- See also... -- 8. Securing SOAP Web-Services using WSS4J Library -- Introduction -- Authenticating a Web-Service call using a username token with a plain/digest password -- Getting ready -- How to do it...
How it works... -- See also... -- Authenticating a Web-Service call using Spring security to authenticate a username token with a plain/digest password -- Getting ready -- How to do it... -- How it works... -- See also... -- Securing SOAP messages using a digital signature -- Getting ready -- How to do it... -- How it works... -- See also... -- Authenticating a Web-Service call using an X509 certificate -- Getting ready -- How to do it... -- How it works... -- See also... -- Encrypting/decrypting SOAP messages -- Getting ready -- How to do it... -- How it works... -- See also... -- 9. RESTful Web-Services -- Introduction -- Setting up a Spring RESTful Web-Service using RESTful features in Spring MVC -- Getting ready -- How to do it... -- How it works... -- See also... -- Using the REST Client tool to access Spring RESTful Web-Service -- Getting ready -- How to do it... -- See also... -- Setting up a Spring RESTful Web-Service using HTTP message conversion -- Getting ready -- How to do it... -- How it works... -- See also... -- Creating a WS Client for the Spring RESTful Web-Service using Spring template classes -- Getting ready -- How to do it... -- How it works... -- There's more -- See also... -- 10. Spring Remoting -- Introduction -- Setting up Web-Services using RMI -- Getting ready -- How to do it... -- How it works... -- Setting up a servlet-based Web-Service using Hessian/Burlap, exposing business beans -- Getting ready -- How to do it... -- How it works... -- See also... -- Setting up Web-Services using JAX-WS -- Getting ready -- How to do it... -- How it works... -- See also... -- Exposing servlet-based Web-Services using Apache CXF -- Getting ready -- How to do it... -- How it works... -- See also... -- Exposing Web-Services using JMS as the underlying communication protocol -- Getting ready -- How to do it... -- How it works... -- Index.
Abstract:
This is a cookbook full of recipes with the essential code explained clearly and comprehensively. Each chapter is neatly compartmentalized with focused recipes which are perfectly organized for easy reference and understanding. This book is for Java/J2EE developers. As the books covers a variety of topics in Web-Service development, it will serve as a reference guide to those already familiar with Web-Services. Beginners can also use this book to gain real-world experience of Web-Service development.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Subject Term:
Genre:
Added Author:
Electronic Access:
Click to View