summaryrefslogtreecommitdiffstats
path: root/Master/Daten- und Systemintegration/CamelPrototype/src/main/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/Daten- und Systemintegration/CamelPrototype/src/main/webapp')
-rw-r--r--Master/Daten- und Systemintegration/CamelPrototype/src/main/webapp/WEB-INF/web.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/Master/Daten- und Systemintegration/CamelPrototype/src/main/webapp/WEB-INF/web.xml b/Master/Daten- und Systemintegration/CamelPrototype/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..da15020
--- /dev/null
+++ b/Master/Daten- und Systemintegration/CamelPrototype/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>DSI CamelPrototype Web Application</display-name>
+
+ <!-- location of spring xml files -->
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>classpath:camel-config.xml</param-value>
+ </context-param>
+
+ <!-- the listener that kick-starts Spring -->
+ <listener>
+ <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+ </listener>
+
+ <!-- CXF servlet -->
+ <servlet>
+ <servlet-name>CXFServlet</servlet-name>
+ <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <!-- all our webservices are mapped under this URI pattern -->
+ <servlet-mapping>
+ <servlet-name>CXFServlet</servlet-name>
+ <url-pattern>/webservices/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>