I am in the process of updating all the SI Samples to the latest RC version. During that process I noticed, that the ws-inbound-gateway sample fails to execute. The Sample complains about:
It turns out the sample has been working with SI up to 2.0.5.RELEASE. Starting with 2.0.6.RELEASE the sample fails.
The problem is the following Gradle config:
These exclusions were added with https://jira.springsource.org/browse/INT-2036 (For 2.1 M1). Around that same time in a separate commit, we added the spring-web dependency: "org.springframework:spring-web:$springVersion".
However, org.springframework.ws.transport.http.MessageDispatcherServlet used by the sample extends org.springframework.web.servlet.FrameworkServlet, which has been part of spring-webmvc-x.x..jar since spring-webmvc-1.0.jar
Therefore, Spring Integration WS should depend on "spring-webmvc" (instead of spring-web).