diff --git a/apache-cxf/cxf-spring/src/main/webapp/WEB-INF/cxf-servlet.xml b/apache-cxf/cxf-spring/src/main/webapp/WEB-INF/cxf-servlet.xml
index 7669d3f942..9fe87ba9ee 100644
--- a/apache-cxf/cxf-spring/src/main/webapp/WEB-INF/cxf-servlet.xml
+++ b/apache-cxf/cxf-spring/src/main/webapp/WEB-INF/cxf-servlet.xml
@@ -1,7 +1,7 @@
-
-
\ No newline at end of file
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws"
+ xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
+
+
diff --git a/apache-cxf/cxf-spring/src/main/webapp/WEB-INF/web.xml b/apache-cxf/cxf-spring/src/main/webapp/WEB-INF/web.xml
index 0d7687771b..43a03b1d8b 100644
--- a/apache-cxf/cxf-spring/src/main/webapp/WEB-INF/web.xml
+++ b/apache-cxf/cxf-spring/src/main/webapp/WEB-INF/web.xml
@@ -1,14 +1,14 @@
-
- cxf
- org.apache.cxf.transport.servlet.CXFServlet
- 1
-
-
- cxf
- /services/*
-
-
\ No newline at end of file
+ version="3.0"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
+
+ cxf
+ org.apache.cxf.transport.servlet.CXFServlet
+ 1
+
+
+ cxf
+ /services/*
+
+