INT-924 Web Service sample now uses the new <ws:header-enricher> element to set the soap-action header.

This commit is contained in:
Mark Fisher
2009-12-23 06:19:38 +00:00
parent 9bac64589d
commit b7eabf8102

View File

@@ -17,9 +17,9 @@
the "soap-action" header value. Then, the Web Service outbound Messaging Gateway invokes the
Web Service for the given URI, and the reply Message is sent to the 'celsiusChannel'. -->
<chain input-channel="fahrenheitChannel" output-channel="celsiusChannel">
<header-enricher>
<header name="springintegration_ws_soapAction" value="http://tempuri.org/FahrenheitToCelsius"/>
</header-enricher>
<ws:header-enricher>
<ws:soap-action value="http://tempuri.org/FahrenheitToCelsius"/>
</ws:header-enricher>
<ws:outbound-gateway uri="http://www.w3schools.com/webservices/tempconvert.asmx"/>
</chain>