2012-10-12 12:21:24 +07:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!-- START SNIPPET: webxml -->
|
|
|
|
<!DOCTYPE web-app
|
|
|
|
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
|
|
|
"http://java.sun.com/dtd/web-app_2_3.dtd">
|
2013-05-22 14:12:26 +07:00
|
|
|
|
2012-10-12 12:21:24 +07:00
|
|
|
<web-app>
|
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>
|
|
|
|
<display-name>CXF Servlet</display-name>
|
|
|
|
<servlet-class>
|
|
|
|
org.apache.cxf.transport.servlet.CXFServlet
|
|
|
|
</servlet-class>
|
|
|
|
<load-on-startup>1</load-on-startup>
|
|
|
|
</servlet>
|
|
|
|
|
|
|
|
<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
|
|
|
|
|
|
|
</web-app>
|
|
|
|
<!-- END SNIPPET: webxml -->
|