Spring Framework comes with a web service package that helps the developers to build new SOAP web services. Spring-WS project includes a substantial list of APIs for various web services framework such as JAX-WS, Axis, JBossWS, and so on. Simple Object Access Protocol (SOAP) is a protocol to exchange structured information across applications. The application can initiate a SOAP request to a web service provider with the required parameters and the response will be provided in the XML format. The SOAP specification consists of SOAP processing model, extensibility model, protocol binding framework, and message construction. SOAP can be used with any transport protocols such as SMTP, JMS, and Message Queues. Compared to the RESTful services, the SOAP web services are more verbose in nature. To discover the SOAP service, we have to depend only on Web Services Description Language (WSDL) mechanism.
In this chapter, we will learn the...