From 7a79b956d6bc0e8b1fb3e4ef9aa609e8464dcf0f Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Mon, 1 Mar 2010 23:08:35 +0000 Subject: [PATCH] added README.txt --- .../ws-inbound-gateway/README.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 spring-integration-samples/ws-inbound-gateway/README.txt diff --git a/spring-integration-samples/ws-inbound-gateway/README.txt b/spring-integration-samples/ws-inbound-gateway/README.txt new file mode 100644 index 0000000000..7632d648a3 --- /dev/null +++ b/spring-integration-samples/ws-inbound-gateway/README.txt @@ -0,0 +1,10 @@ +This sample demonstrates a barebones inbound Web Service Gateway. Take a look at "web.xml" in the WEB-INF directory where the Spring Web Services Message-dispatching Servlet is defined. Then have a look at the "spring-ws-config.xml" file (also in the WEB-INF directory) where the Spring WS EndpointMapping is defined. Finally view the Spring Integration configuration in the "inbound-gateway-config.xml" file within the "org.springframework.integration.samples.ws" package where the actual gateway is defined along with a channel and service-activator. + +To use the gateway, you can run the tests that are located within the "src/test/java" directory. One is for standalone testing of the gateway itself, while the other tests the gateway running on a web server. The latter uses Spring Web Services' client-side support. Alternatively, you can simply start the server, and then send invocations with any standalone HTTP client testing tool. The request format should be similar to the following and should be POSTed to the service URL (e.g. http://localhost:8080/ws-inbound-gateway/echoservice): + + + + +hello + +