|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
|
|
<web-app>
|
|
<display-name>EPCIS Trusted Agent</display-name>
|
|
|
|
<context-param>
|
|
<param-name>appConfigLocation</param-name>
|
|
<param-value>WEB-INF/classes/application.properties</param-value>
|
|
</context-param>
|
|
|
|
<listener>
|
|
<listener-class>org.fosstrak.epcis.repository.GatewayContextListener</listener-class>
|
|
</listener>
|
|
|
|
<servlet>
|
|
<!-- CXFServlet providing the Query Interface Endpoint -->
|
|
<servlet-name>ETaQueryInterface</servlet-name>
|
|
<description>
|
|
This servlet dispatches EPCIS query requests to the Web service framework
|
|
for processing of the query according to the SOAP/HTTP Binding for the
|
|
Query Control Interface (EPCglobal EPCIS Specification Section 11.2).
|
|
</description>
|
|
<servlet-class>fr.unicaen.iota.eta.query.QueryInitServlet</servlet-class>
|
|
<load-on-startup>1</load-on-startup>
|
|
</servlet>
|
|
<servlet>
|
|
<!-- CaptureOperationsModule servlet providing the Capture Interface -->
|
|
<servlet-name>ETaCaptureInterface</servlet-name>
|
|
<description>
|
|
This servlet captures EPCIS events sent in HTTP POST requests. The POST
|
|
data payload must contain an XML formatted EPCISDocument according to the
|
|
schema for core event types (EPCglobal EPCIS Specification Section 9.5).
|
|
</description>
|
|
<servlet-class>fr.unicaen.iota.eta.capture.CaptureOperationsServlet</servlet-class>
|
|
<load-on-startup>2</load-on-startup>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<!-- The capture servlet will be available at http://{url:port}/{context-path}/capture -->
|
|
<servlet-name>ETaCaptureInterface</servlet-name>
|
|
<url-pattern>/capture</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet-mapping>
|
|
<!-- The query Web service will be available at http://{url:port}/{context-path}/query
|
|
and http://{url:port}/{context-path}/ided_query -->
|
|
<servlet-name>ETaQueryInterface</servlet-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>TestConfiguration</servlet-name>
|
|
<url-pattern>/test</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<session-config>
|
|
<session-timeout>5</session-timeout>
|
|
</session-config>
|
|
|
|
<mime-mapping>
|
|
<extension>wsdl</extension>
|
|
<mime-type>text/xml</mime-type>
|
|
</mime-mapping>
|
|
<mime-mapping>
|
|
<extension>xsd</extension>
|
|
<mime-type>text/xml</mime-type>
|
|
</mime-mapping>
|
|
|
|
<welcome-file-list id="WelcomeFileList">
|
|
<welcome-file>index.html</welcome-file>
|
|
</welcome-file-list>
|
|
|
|
</web-app>
|