44 lines
1.2 KiB
XML
44 lines
1.2 KiB
XML
<?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">
|
|
<context-param>
|
|
<param-name>contextConfigLocation</param-name>
|
|
<param-value>
|
|
classpath:/META-INF/cxf/services.xml
|
|
classpath:/META-INF/cxf/rest-context.xml
|
|
</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>
|
|
<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>
|
|
<servlet-mapping>
|
|
<servlet-name>CXFServlet</servlet-name>
|
|
<url-pattern>/services/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<session-config>
|
|
<session-timeout>15</session-timeout>
|
|
</session-config>
|
|
|
|
</web-app> |