Permalink
Browse files

updating ws sample to use HttpRequestHandlerServlet instead of Dispat…

…cherServlet
  • Loading branch information...
1 parent 43ef039 commit 7d44e90b4c78e2f2f65200d1a51a999ffa17365d @markfisher markfisher committed Sep 10, 2012
View
2 siia-examples-parent/webapp/src/main/webapp/WEB-INF/applicationContext.xml
@@ -5,4 +5,6 @@
<import resource="classpath:trips-applicationContext.xml" />
+ <import resource="http-ws-servlet.xml" />
+
</beans>
View
6 siia-examples-parent/webapp/src/main/webapp/WEB-INF/http-ws-servlet.xml
@@ -5,11 +5,9 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/integration/http
- http://www.springframework.org/schema/integration/http/spring-integration-http.xsd">
+ http://www.springframework.org/schema/integration/http/spring-integration-http.xsd">
- <bean class="org.springframework.integration.http.inbound.UriPathHandlerMapping"/>
-
- <si-http:inbound-gateway id="httpTripInboundGateway" path="/"
+ <si-http:inbound-gateway id="httpTripInboundGateway"
request-channel="tripQuoteRequestsChannel"
reply-channel="tripQuoteResponseChannel"/>
View
10 siia-examples-parent/webapp/src/main/webapp/WEB-INF/web.xml
@@ -37,19 +37,11 @@
<url-pattern>/soapquoteservice</url-pattern>
</servlet-mapping>
-
<!-- HTTP services -->
<servlet>
<servlet-name>httpTripInboundGateway</servlet-name>
- <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
- <init-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>
- classpath:trips-applicationContext.xml
- /WEB-INF/http-ws-servlet.xml
- </param-value>
- </init-param>
+ <servlet-class>org.springframework.web.context.support.HttpRequestHandlerServlet</servlet-class>
</servlet>
<servlet-mapping>

0 comments on commit 7d44e90

Please sign in to comment.