2021-09-04 21:12:10 +07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
|
|
|
|
version="4.0">
|
2013-05-22 14:12:26 +07:00
|
|
|
<context-param>
|
|
|
|
<param-name>contextConfigLocation</param-name>
|
|
|
|
<param-value>
|
|
|
|
classpath:/META-INF/cxf/services.xml
|
2013-07-24 20:28:18 +07:00
|
|
|
classpath:/META-INF/cxf/rest-context.xml
|
2013-05-22 14:12:26 +07:00
|
|
|
</param-value>
|
|
|
|
</context-param>
|
|
|
|
|
|
|
|
<listener>
|
|
|
|
<listener-class>
|
|
|
|
com.trekglobal.ws.ContextLoaderListener
|
|
|
|
</listener-class>
|
|
|
|
</listener>
|
|
|
|
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>CXFServlet</servlet-name>
|
|
|
|
<servlet-class>
|
|
|
|
org.apache.cxf.transport.servlet.CXFServlet
|
|
|
|
</servlet-class>
|
|
|
|
<load-on-startup>1</load-on-startup>
|
|
|
|
</servlet>
|
2019-04-23 19:48:36 +07:00
|
|
|
<servlet>
|
|
|
|
<servlet-name>default</servlet-name>
|
|
|
|
<servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>dirAllowed</param-name>
|
|
|
|
<param-value>false</param-value>
|
|
|
|
</init-param>
|
|
|
|
</servlet>
|
2013-05-22 14:12:26 +07:00
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>CXFServlet</servlet-name>
|
|
|
|
<url-pattern>/services/*</url-pattern>
|
|
|
|
</servlet-mapping>
|
2012-10-12 12:21:24 +07:00
|
|
|
|
2013-05-22 14:12:26 +07:00
|
|
|
<session-config>
|
|
|
|
<session-timeout>15</session-timeout>
|
|
|
|
</session-config>
|
2012-10-12 12:21:24 +07:00
|
|
|
|
2021-09-04 21:12:10 +07:00
|
|
|
</web-app>
|