O'Reilly logo

Spring Integration Essentials by Chandan Pandey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Web services

The HTTP adapter and gateways provide support for REST-based web services, but Spring Integration also provides support for XML-based web services such as SOAP. An inbound adapter or gateway is used to create and expose an endpoint as a web service, while an outbound adapter or gateway is used to invoke external services. Spring Integration support for web services is built over the spring ws project. I am not going to cover spring ws or any specific SOAP details such as wsdl, header, body, or payload. Instead, we will showcase the Spring Integration wrappers.

Prerequisites

Web services support can be added by including the following namespaces and Maven dependencies:

  • Namespace support can be added using the following code snippet:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required