From 6512186ab4ce7407d13b08fb6b980041e05731f9 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Thu, 9 Jul 2009 01:20:04 +0000 Subject: [PATCH] INT-706 moved the configuration file to be in the same directory as the demo class and added description --- .../integration/samples/ws/WebServiceDemo.java | 8 +++++--- .../integration/samples/ws/temperatureConversion.xml | 0 2 files changed, 5 insertions(+), 3 deletions(-) rename spring-integration-samples/ws/src/main/{resources => java}/org/springframework/integration/samples/ws/temperatureConversion.xml (100%) diff --git a/spring-integration-samples/ws/src/main/java/org/springframework/integration/samples/ws/WebServiceDemo.java b/spring-integration-samples/ws/src/main/java/org/springframework/integration/samples/ws/WebServiceDemo.java index 6437a7098f..cf48e6934c 100644 --- a/spring-integration-samples/ws/src/main/java/org/springframework/integration/samples/ws/WebServiceDemo.java +++ b/spring-integration-samples/ws/src/main/java/org/springframework/integration/samples/ws/WebServiceDemo.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,7 +24,9 @@ import org.springframework.integration.core.MessageChannel; import org.springframework.integration.message.MessageBuilder; /** - * Demonstrating a web service invocation through a Web Service MessageHandler. + * Demonstrates a web service invocation through a Web Service outbound Gateway. + * A header-enricher provides the Soap Action prior to invocation. See the + * 'temperatureConversion.xml' configuration file for more detail. * * @author Marius Bogoevici */ @@ -37,7 +39,7 @@ public class WebServiceDemo { // Compose the XML message according to the server's schema String requestXml = "" + - " 90.0" + + " 90.0" + ""; // Create the Message object diff --git a/spring-integration-samples/ws/src/main/resources/org/springframework/integration/samples/ws/temperatureConversion.xml b/spring-integration-samples/ws/src/main/java/org/springframework/integration/samples/ws/temperatureConversion.xml similarity index 100% rename from spring-integration-samples/ws/src/main/resources/org/springframework/integration/samples/ws/temperatureConversion.xml rename to spring-integration-samples/ws/src/main/java/org/springframework/integration/samples/ws/temperatureConversion.xml