1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 |
|
---|
3 | <!--
|
---|
4 | ~ Licensed to the Apache Software Foundation (ASF) under one
|
---|
5 | ~ or more contributor license agreements. See the NOTICE file
|
---|
6 | ~ distributed with this work for additional information
|
---|
7 | ~ regarding copyright ownership. The ASF licenses this file
|
---|
8 | ~ to you under the Apache License, Version 2.0 (the
|
---|
9 | ~ "License"); you may not use this file except in compliance
|
---|
10 | ~ with the License. You may obtain a copy of the License at
|
---|
11 | ~
|
---|
12 | ~ http://www.apache.org/licenses/LICENSE-2.0
|
---|
13 | ~
|
---|
14 | ~ Unless required by applicable law or agreed to in writing,
|
---|
15 | ~ software distributed under the License is distributed on an
|
---|
16 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
---|
17 | ~ KIND, either express or implied. See the License for the
|
---|
18 | ~ specific language governing permissions and limitations
|
---|
19 | ~ under the License.
|
---|
20 | -->
|
---|
21 |
|
---|
22 | <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
|
---|
23 |
|
---|
24 | <web-app>
|
---|
25 | <display-name>Apache-Axis2</display-name>
|
---|
26 | <servlet>
|
---|
27 | <servlet-name>AxisServlet</servlet-name>
|
---|
28 | <display-name>Apache-Axis Servlet</display-name>
|
---|
29 | <servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
|
---|
30 | <!--<init-param>-->
|
---|
31 | <!--<param-name>axis2.xml.path</param-name>-->
|
---|
32 | <!--<param-value>/WEB-INF/conf/axis2.xml</param-value>-->
|
---|
33 | <!--<param-name>axis2.xml.url</param-name>-->
|
---|
34 | <!--<param-value>http://localhot/myrepo/axis2.xml</param-value>-->
|
---|
35 | <!--<param-name>axis2.repository.path</param-name>-->
|
---|
36 | <!--<param-value>/WEB-INF</param-value>-->
|
---|
37 | <!--<param-name>axis2.repository.url</param-name>-->
|
---|
38 | <!--<param-value>http://localhot/myrepo</param-value>-->
|
---|
39 | <!--</init-param>-->
|
---|
40 | <load-on-startup>1</load-on-startup>
|
---|
41 | </servlet>
|
---|
42 | <servlet>
|
---|
43 | <servlet-name>AxisAdminServlet</servlet-name>
|
---|
44 | <display-name>Apache-Axis AxisAdmin Servlet (Web Admin)</display-name>
|
---|
45 | <servlet-class>
|
---|
46 | org.apache.axis2.transport.http.AxisAdminServlet</servlet-class>
|
---|
47 | </servlet>
|
---|
48 | <servlet-mapping>
|
---|
49 | <servlet-name>AxisServlet</servlet-name>
|
---|
50 | <url-pattern>/servlet/AxisServlet</url-pattern>
|
---|
51 | </servlet-mapping>
|
---|
52 |
|
---|
53 | <servlet-mapping>
|
---|
54 | <servlet-name>AxisServlet</servlet-name>
|
---|
55 | <url-pattern>*.jws</url-pattern>
|
---|
56 | </servlet-mapping>
|
---|
57 |
|
---|
58 | <servlet-mapping>
|
---|
59 | <servlet-name>AxisServlet</servlet-name>
|
---|
60 | <url-pattern>/services/*</url-pattern>
|
---|
61 | </servlet-mapping>
|
---|
62 |
|
---|
63 | <servlet-mapping>
|
---|
64 | <servlet-name>AxisAdminServlet</servlet-name>
|
---|
65 | <url-pattern>/axis2-admin/*</url-pattern>
|
---|
66 | </servlet-mapping>
|
---|
67 |
|
---|
68 | <mime-mapping>
|
---|
69 | <extension>inc</extension>
|
---|
70 | <mime-type>text/plain</mime-type>
|
---|
71 | </mime-mapping>
|
---|
72 |
|
---|
73 | <welcome-file-list>
|
---|
74 | <welcome-file>index.jsp</welcome-file>
|
---|
75 | <welcome-file>index.html</welcome-file>
|
---|
76 | <welcome-file>/axis2-web/index.jsp</welcome-file>
|
---|
77 | </welcome-file-list>
|
---|
78 |
|
---|
79 | <error-page>
|
---|
80 | <error-code>404</error-code>
|
---|
81 | <location>/axis2-web/Error/error404.jsp</location>
|
---|
82 | </error-page>
|
---|
83 |
|
---|
84 | <error-page>
|
---|
85 | <error-code>500</error-code>
|
---|
86 | <location>/axis2-web/Error/error500.jsp</location>
|
---|
87 | </error-page>
|
---|
88 | </web-app>
|
---|