diff --git a/org.springframework.integration.samples/src/main/java/org/springframework/integration/samples/ws/temperatureConversion.xml b/org.springframework.integration.samples/src/main/java/org/springframework/integration/samples/ws/temperatureConversion.xml
index 883a77382d..90e1bdda73 100644
--- a/org.springframework.integration.samples/src/main/java/org/springframework/integration/samples/ws/temperatureConversion.xml
+++ b/org.springframework.integration.samples/src/main/java/org/springframework/integration/samples/ws/temperatureConversion.xml
@@ -3,12 +3,15 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:stream="http://www.springframework.org/schema/integration/stream"
+ xmlns:ws="http://www.springframework.org/schema/integration/ws"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/integration
- http://www.springframework.org/schema/integration/spring-integration-ws-1.0.xsd
+ http://www.springframework.org/schema/integration/spring-integration-1.0.xsd
http://www.springframework.org/schema/integration/stream
- http://www.springframework.org/schema/integration/stream/spring-integration-stream-1.0.xsd">
+ http://www.springframework.org/schema/integration/stream/spring-integration-stream-1.0.xsd
+ http://www.springframework.org/schema/integration/ws
+ http://www.springframework.org/schema/integration/ws/spring-integration-ws-1.0.xsd">
@@ -16,7 +19,7 @@
-
diff --git a/org.springframework.integration.ws/src/main/java/org/springframework/integration/ws/config/WsNamespaceHandler.java b/org.springframework.integration.ws/src/main/java/org/springframework/integration/ws/config/WsNamespaceHandler.java
new file mode 100644
index 0000000000..103e940e57
--- /dev/null
+++ b/org.springframework.integration.ws/src/main/java/org/springframework/integration/ws/config/WsNamespaceHandler.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2002-2008 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.springframework.integration.ws.config;
+
+import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
+
+/**
+ * @author Mark Fisher
+ */
+public class WsNamespaceHandler extends NamespaceHandlerSupport {
+
+ public void init() {
+ this.registerBeanDefinitionParser("ws-service-activator", new WebServiceHandlerParser());
+ }
+
+}
diff --git a/org.springframework.integration.ws/src/main/java/org/springframework/integration/ws/config/spring-integration-ws-1.0.xsd b/org.springframework.integration.ws/src/main/java/org/springframework/integration/ws/config/spring-integration-ws-1.0.xsd
index 19dd0925f9..6b448d67c7 100644
--- a/org.springframework.integration.ws/src/main/java/org/springframework/integration/ws/config/spring-integration-ws-1.0.xsd
+++ b/org.springframework.integration.ws/src/main/java/org/springframework/integration/ws/config/spring-integration-ws-1.0.xsd
@@ -1,15 +1,12 @@
-
-
-
-
diff --git a/org.springframework.integration.ws/src/main/resources/META-INF/spring-integration.parsers b/org.springframework.integration.ws/src/main/resources/META-INF/spring-integration.parsers
deleted file mode 100644
index a7b5c85138..0000000000
--- a/org.springframework.integration.ws/src/main/resources/META-INF/spring-integration.parsers
+++ /dev/null
@@ -1 +0,0 @@
-ws-service-activator=org.springframework.integration.ws.config.WebServiceHandlerParser
\ No newline at end of file
diff --git a/org.springframework.integration.ws/src/main/resources/META-INF/spring.handlers b/org.springframework.integration.ws/src/main/resources/META-INF/spring.handlers
new file mode 100644
index 0000000000..0710888f12
--- /dev/null
+++ b/org.springframework.integration.ws/src/main/resources/META-INF/spring.handlers
@@ -0,0 +1 @@
+http\://www.springframework.org/schema/integration/ws=org.springframework.integration.ws.config.WsNamespaceHandler
\ No newline at end of file
diff --git a/org.springframework.integration.ws/src/main/resources/META-INF/spring.schemas b/org.springframework.integration.ws/src/main/resources/META-INF/spring.schemas
index fbb973f44f..58efe84c83 100644
--- a/org.springframework.integration.ws/src/main/resources/META-INF/spring.schemas
+++ b/org.springframework.integration.ws/src/main/resources/META-INF/spring.schemas
@@ -1 +1 @@
-http\://www.springframework.org/schema/integration/spring-integration-ws-1.0.xsd=org/springframework/integration/ws/config/spring-integration-ws-1.0.xsd
+http\://www.springframework.org/schema/integration/ws/spring-integration-ws-1.0.xsd=org/springframework/integration/ws/config/spring-integration-ws-1.0.xsd
diff --git a/org.springframework.integration.ws/src/test/java/org/springframework/integration/ws/config/marshallingWebServiceHandlerParserTests.xml b/org.springframework.integration.ws/src/test/java/org/springframework/integration/ws/config/marshallingWebServiceHandlerParserTests.xml
index 85abac8b86..38a40ae3c3 100644
--- a/org.springframework.integration.ws/src/test/java/org/springframework/integration/ws/config/marshallingWebServiceHandlerParserTests.xml
+++ b/org.springframework.integration.ws/src/test/java/org/springframework/integration/ws/config/marshallingWebServiceHandlerParserTests.xml
@@ -2,37 +2,40 @@
+ http://www.springframework.org/schema/integration/spring-integration-1.0.xsd
+ http://www.springframework.org/schema/integration/ws
+ http://www.springframework.org/schema/integration/ws/spring-integration-ws-1.0.xsd">
-
-
-
-
-
+ http://www.springframework.org/schema/integration/spring-integration-1.0.xsd
+ http://www.springframework.org/schema/integration/ws
+ http://www.springframework.org/schema/integration/ws/spring-integration-ws-1.0.xsd">
-
-
-
-
-
-