Fixed #SWS-103: MessageDispatcherServlet does not transform WSDL locations

This commit is contained in:
Arjen Poutsma
2007-04-04 09:31:15 +00:00
parent 8fcdc6186a
commit d7c7388aeb

View File

@@ -10,18 +10,24 @@
</display-name>
<description>Returns a given string(only A-Z and a-z chars allowed). See echo.xsd file.</description>
<!-- Starts the web service servlet. -->
<!-- Defines the Spring-WS MessageDispatcherServlet -->
<servlet>
<servlet-name>spring-ws</servlet-name>
<servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
</servlet>
<!-- We map all service request to the springws servlet. -->
<!-- Map all requests to this servlet -->
<servlet-mapping>
<servlet-name>spring-ws</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<!-- Indicates that we want to transform the location attributes in WSDLs-->
<context-param>
<param-name>transformWsdlLocations</param-name>
<param-value>true</param-value>
</context-param>
<mime-mapping>
<extension>wsdl</extension>
<mime-type>text/xml</mime-type>