Move axis/webapp to mci/ws
[remote.git] / mci / ws / src / main / webapp / WEB-INF / web.xml
blob7850effee37e19ef1de0c321de19ef530bfb78b6
1 <?xml version="1.0" encoding="UTF-8"?>
3 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
5 <web-app>
6         <display-name>ReĀ·Mote Axis Web Application</display-name>
7     
8         <listener>
9                 <listener-class>org.apache.axis.transport.http.AxisHTTPSessionListener</listener-class>
10         </listener>
11     
12         <servlet>
13                 <servlet-name>AxisServlet</servlet-name>
14                 <display-name>Apache-Axis Servlet</display-name>
15                 <servlet-class>
16                         org.apache.axis.transport.http.AxisServlet
17                 </servlet-class>
18         </servlet>
20         <servlet-mapping>
21                 <servlet-name>AxisServlet</servlet-name>
22                 <url-pattern>/index.html</url-pattern>
23         </servlet-mapping>
25         <servlet-mapping>
26                 <servlet-name>AxisServlet</servlet-name>
27                 <url-pattern>/services/*</url-pattern>
28         </servlet-mapping>
30         <session-config>
31                 <!-- Default to 5 minute session timeouts -->
32                 <session-timeout>5</session-timeout>
33         </session-config>
35         <mime-mapping>
36                 <extension>wsdl</extension>
37                 <mime-type>text/xml</mime-type>
38         </mime-mapping>
40         <mime-mapping>
41                 <extension>xsd</extension>
42                 <mime-type>text/xml</mime-type>
43         </mime-mapping>
45         <welcome-file-list>
46                 <welcome-file>/index.html</welcome-file>
47         </welcome-file-list>
49         <error-page>
50                 <error-code>500</error-code>
51                 <location>/index.html</location>
52         </error-page>
54         <error-page>
55                 <error-code>404</error-code>
56                 <location>/index.html</location>
57         </error-page>   
59 </web-app>