Spring Web Services (Spring-WS) is a product of the Spring community
focused on creating document-driven Web services. Spring Web Services aims to
facilitate contract-first SOAP service development, allowing for the creation of
flexible web services using one of the many ways to manipulate XML payloads. The
product is based on Spring itself, which means you can use the Spring concepts
such as dependency injection as an integral part of your Web service.
Spring-WS uses alternative SOAP stacks lacking when it comes to following Web service best practices. Spring-WS makes the best practice an easy practice. This includes practices such as the WS-I basic profile, Contract-First development, and having a loose coupling between contract and implementation.
Any application can have a Web Service component and these components can be
created regardless of any language or platform. In this series of blogs
we will cover all useful aspects related to Web Services in Spring.
A Web Service there are two main approaches of doing this:
1 Contract First Web Services
2 Contract Last Web Services