git-svn-id: https://brutex.net/svn/xservices/trunk@44 e7e49efb-446e-492e-b9ec-fcafc1997a86
parent
d14091ad81
commit
1ca32aaff2
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* The Apache Software License, Version 1.1
|
||||
*
|
||||
* Copyright (c) 2001-2003 Ant-Contrib project. All rights reserved.
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Context antiJARLocking="true" path="/XServices"/>
|
|
@ -1,30 +0,0 @@
|
|||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:jaxws="http://cxf.apache.org/jaxws"
|
||||
xmlns:jaxrs="http://cxf.apache.org/jaxrs"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
|
||||
http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd">
|
||||
|
||||
<import resource="classpath:META-INF/cxf/cxf.xml"/>
|
||||
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
|
||||
<import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml"/>
|
||||
<import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
|
||||
|
||||
<jaxws:endpoint id="archiveservice"
|
||||
implementor="net.brutex.xservices.ws.ArchiveService"
|
||||
address="/ArchiveService"/>
|
||||
|
||||
<jaxws:endpoint id="fileservice"
|
||||
implementor="net.brutex.xservices.ws.FileService"
|
||||
address="/FileService"/>
|
||||
|
||||
<jaxws:endpoint id="executeservice"
|
||||
implementor="net.brutex.xservices.ws.ExecuteService"
|
||||
address="/ExecuteService"/>
|
||||
|
||||
<jaxws:endpoint id="miscservice"
|
||||
implementor="net.brutex.xservices.ws.MiscServiceImpl"
|
||||
address="/MiscService"/>
|
||||
</beans>
|
|
@ -1,46 +0,0 @@
|
|||
<?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
|
||||
</session-timeout>
|
||||
</session-config>
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
<Context path="/ExecuteService">
|
||||
<Valve allow="166.0.0.1" className="org.apache.catalina.valves.RemoteAddrValve" deny=""/>
|
||||
</Context>
|
||||
</web-app>
|
Loading…
Reference in New Issue