Title: [997] trunk/servicemix-wsnotification/src/test/java/org/servicemix/ws/notification: When specifying the serviceInterface, the namespace has changed.
Revision
997
Author
gnt
Date
2005-12-02 19:32:14 -0500 (Fri, 02 Dec 2005)

Log Message

When specifying the serviceInterface, the namespace has changed.
There may be a bug in xfire on wsdl generation, but at least, test should pass.

Modified Paths

Diff

Modified: trunk/servicemix-wsnotification/src/test/java/org/servicemix/ws/notification/JbiNotificationTest.java (996 => 997)

--- trunk/servicemix-wsnotification/src/test/java/org/servicemix/ws/notification/JbiNotificationTest.java	2005-12-03 00:27:42 UTC (rev 996)
+++ trunk/servicemix-wsnotification/src/test/java/org/servicemix/ws/notification/JbiNotificationTest.java	2005-12-03 00:32:14 UTC (rev 997)
@@ -1,6 +1,5 @@
 package org.servicemix.ws.notification;
 
-import org.servicemix.jbi.config.spring.XBeanProcessor;
 import org.servicemix.tck.TestSupport;
 import org.springframework.context.support.AbstractXmlApplicationContext;
 import org.w3c.dom.Node;
@@ -10,14 +9,13 @@
 import javax.xml.namespace.QName;
 import javax.xml.transform.Source;
 
-import java.util.Arrays;
 import java.util.Iterator;
 import java.util.List;
 
 public class JbiNotificationTest extends TestSupport {
 
     public void testSubscribe() throws Exception {
-        QName serviceName = new QName("http://notification.ws.servicemix.org", "JBINotificationBroker");
+        QName serviceName = new QName("http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.wsdl", "JBINotificationBroker");
 
         String file = "wsn-subscribe.xml";
         Object answer = requestServiceWithFileRequest(serviceName, file);

Modified: trunk/servicemix-wsnotification/src/test/resources/org/servicemix/ws/notification/wsn-http-broker.xml (996 => 997)

--- trunk/servicemix-wsnotification/src/test/resources/org/servicemix/ws/notification/wsn-http-broker.xml	2005-12-03 00:27:42 UTC (rev 996)
+++ trunk/servicemix-wsnotification/src/test/resources/org/servicemix/ws/notification/wsn-http-broker.xml	2005-12-03 00:32:14 UTC (rev 997)
@@ -2,7 +2,7 @@
 <beans xmlns:sm="http://servicemix.org/config/1.0" 
        xmlns:jsr181="http://servicemix.org/jsr181/1.0"
        xmlns:demo="http://servicemix.org/demo"
-       xmlns:wsn="http://notification.ws.servicemix.org">
+       xmlns:wsn="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.wsdl">
 
   <!-- the JBI container -->
   <sm:container id="jbi" embedded="true" monitorInstallationDirectory="false" flowName="st">

Reply via email to