Files
spring-integration-samples/basic/ws-outbound-gateway
Spring Operator 4f48dce420 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were fixed successfully.

* http://www.apache.org/licenses/LICENSE-2.0.txt migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://projects.spring.io/spring-integration migrated to:
  https://projects.spring.io/spring-integration ([https](https://projects.spring.io/spring-integration) result 301).
* http://repo.spring.io/libs-milestone migrated to:
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* http://repo.spring.io/libs-snapshot migrated to:
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).
* http://repo.spring.io/libs-staging-local migrated to:
  https://repo.spring.io/libs-staging-local ([https](https://repo.spring.io/libs-staging-local) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-06 10:03:19 -05:00
..
2017-09-01 16:14:34 -04:00
2019-03-06 10:03:19 -05:00

WS Outbound Gateway Sample

This example demonstrates the following aspects of the Web Services (WS) support available with Spring Integration:

  1. WS Outbound Gateway
  2. Content Enricher
  3. Composed Message Processor

A very simple example that show you how easy it is to invoke a service based on the [Simple Object Access Protocol][] (SOAP) using Spring Integration.

  • A Message is sent to a Channel, where it is retrieved by a Chain which consists of a Header Enricher and a WS Outbound Gateway.
  • The Header Enricher enriches the Message with the SOAP action header.
  • The WS Outbound Gateway converts the Message to a SOAP request and sends it to a remote service, which converts a temperature from Fahrenheit (90F) to Celsius (32.2C) and the result is printed to the console:
<?xml version="1.0" encoding="UTF-8"?><FahrenheitToCelsiusResponse xmlns="http://tempuri.org/"><FahrenheitToCelsiusResult>32.2222222222222</FahrenheitToCelsiusResult></FahrenheitToCelsiusResponse>````

## Running the Sample

To run the sample simply execute **WebServiceDemoTestApp** in package *org.springframework.integration.samples.ws*. 
You can also execute that class using the [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html):

    $ gradlew :ws-outbound-gateway:run

[Simple Object Access Protocol]: http://en.wikipedia.org/wiki/SOAP