Subversion Repositories XServices

Compare Revisions

Ignore whitespace Rev 13 → Rev 14

/xservices/trunk/web/WEB-INF/sun-jaxws.xml
File deleted
/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
1,35 → 1,27
<?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>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
 
<servlet>
<servlet-name>ArchiveService</servlet-name>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
<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>FileService</servlet-name>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>ExecuteService</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>ArchiveService</servlet-name>
<url-pattern>/ArchiveService</url-pattern>
<servlet-name>XServices</servlet-name>
<url-pattern>/*</url-pattern>
 
</servlet-mapping>
<servlet-mapping>
<servlet-name>FileService</servlet-name>
<url-pattern>/FileService</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ExecuteService</servlet-name>
<url-pattern>/ExecuteService</url-pattern>
</servlet-mapping>
 
<session-config>
<session-timeout>
30