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