|
<?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>Callback</display-name>
|
|
|
|
<context-param>
|
|
<param-name>appConfigLocation</param-name>
|
|
<param-value>WEB-INF/classes/application.properties</param-value>
|
|
</context-param>
|
|
|
|
<servlet>
|
|
<servlet-name>CallbackInterface</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.callback.receiver.CallbackOperationsServlet</servlet-class>
|
|
<load-on-startup>1</load-on-startup>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<!-- The callback servlet will be available at http://{url:port}/{context-path}/callback -->
|
|
<servlet-name>CallbackInterface</servlet-name>
|
|
<url-pattern>/callback</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<session-config>
|
|
<session-timeout>5</session-timeout>
|
|
</session-config>
|
|
|
|
<welcome-file-list id="WelcomeFileList">
|
|
<welcome-file>index.html</welcome-file>
|
|
</welcome-file-list>
|
|
|
|
</web-app>
|