1,27 → 1,37 |
<?xml version="1.0" encoding="UTF-8"?> |
<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"> |
|
<context-param> |
<param-name>contextConfigLocation</param-name> |
<param-value>WEB-INF/cxf-beans.xml</param-value> |
</context-param> |
|
<listener> |
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
</listener> |
|
<listener> |
<listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class> |
</listener> |
<servlet> |
<servlet-name>XServices</servlet-name> |
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> |
<load-on-startup>1</load-on-startup> |
</servlet> |
|
<servlet> |
<servlet-name>MiscServiceImpl</servlet-name> |
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class> |
<load-on-startup>1</load-on-startup> |
</servlet> |
<servlet-mapping> |
<servlet-name>XServices</servlet-name> |
<url-pattern>/*</url-pattern> |
|
<init-param> |
<param-name>config-location</param-name> |
<param-value>/WEB-INF/cxf-beans.xml</param-value> |
</init-param> |
</servlet-mapping> |
|
<servlet-mapping> |
<servlet-name>MiscServiceImpl</servlet-name> |
<url-pattern>/MiscServiceImpl</url-pattern> |
</servlet-mapping> |
<session-config> |
<session-timeout> |
30 |