Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 brianR 1
<?xml version="1.0" encoding="UTF-8"?>
2
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
14 brianR 3
    <context-param>
4
        <param-name>contextConfigLocation</param-name>
5
        <param-value>WEB-INF/cxf-beans.xml</param-value>
6
    </context-param>
6 brianR 7
    <listener>
14 brianR 8
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
6 brianR 9
    </listener>
17 brianR 10
    <listener>
11
        <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
12
    </listener>
6 brianR 13
    <servlet>
14 brianR 14
        <servlet-name>XServices</servlet-name>
15
        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
6 brianR 16
        <load-on-startup>1</load-on-startup>
17
    </servlet>
17 brianR 18
    <servlet>
19
        <servlet-name>MiscServiceImpl</servlet-name>
20
        <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
21
        <load-on-startup>1</load-on-startup>
22
    </servlet>
6 brianR 23
    <servlet-mapping>
14 brianR 24
        <servlet-name>XServices</servlet-name>
25
        <url-pattern>/*</url-pattern>
17 brianR 26
        <init-param>
27
            <param-name>config-location</param-name>
28
            <param-value>/WEB-INF/cxf-beans.xml</param-value>
29
        </init-param>
6 brianR 30
    </servlet-mapping>
17 brianR 31
    <servlet-mapping>
32
        <servlet-name>MiscServiceImpl</servlet-name>
33
        <url-pattern>/MiscServiceImpl</url-pattern>
34
    </servlet-mapping>
6 brianR 35
    <session-config>
36
        <session-timeout>
37
            30
38
        </session-timeout>
39
    </session-config>
40
    <welcome-file-list>
41
        <welcome-file>index.jsp</welcome-file>
42
    </welcome-file-list>
43
    <Context path="/ExecuteService">
44
        <Valve allow="166.0.0.1" className="org.apache.catalina.valves.RemoteAddrValve" deny=""/>
45
    </Context>
46
</web-app>