/xservices/trunk/web/WEB-INF/cxf-beans.xml |
---|
0,0 → 1,26 |
<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"/> |
</beans> |
/xservices/trunk/web/WEB-INF/web.xml |
---|
0,0 → 1,36 |
<?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> |
<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-mapping> |
<servlet-name>XServices</servlet-name> |
<url-pattern>/*</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> |