diff --git a/spring-integration-reference/src/ws.xml b/spring-integration-reference/src/ws.xml
index 4c3c551346..743d8eaf59 100644
--- a/spring-integration-reference/src/ws.xml
+++ b/spring-integration-reference/src/ws.xml
@@ -44,7 +44,8 @@
marshallingGateway = new MarshallingWebServiceInboundGateway(marshaller);
//set request and optionally reply channel
-Both gateways implement MessageEndpoint to they can be configured with a MessageDispatcherServlet
+Both gateways implement the Spring Web Services MessageEndpoint
+interface, so they can be configured with a MessageDispatcherServlet
as per standard Spring Web Services configuration.
@@ -91,8 +92,10 @@ as per standard Spring Web Services configuration.
Spring Web Services WebServiceMessageFactory implementation.
- For the simple inbound gateway type, the "extract-payload" attribute can set to false to forward the entire
- WebServiceMessage, instead of just its payload as a Message to the request channel.
+ For the simple inbound gateway type, the "extract-payload" attribute can be set to false to forward
+ the entire WebServiceMessage instead of just its payload as a
+ Message to the request channel. This might be useful, for example,
+ when a custom Transformer works against the WebServiceMessage directly.