[jboss-svn-commits] JBossWS SVN: r683 - branches/jbossws-1.0/src/test/java/org/jboss/test/ws/eventing

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Aug 4 05:05:17 EDT 2006


Author: thomas.diesler at jboss.com
Date: 2006-08-04 05:05:15 -0400 (Fri, 04 Aug 2006)
New Revision: 683

Modified:
   branches/jbossws-1.0/src/test/java/org/jboss/test/ws/eventing/DIIClientTestCase.java
Log:
use jaxrpc-mapping.xml
remove app client deployment

Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/eventing/DIIClientTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/eventing/DIIClientTestCase.java	2006-08-04 08:44:22 UTC (rev 682)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/eventing/DIIClientTestCase.java	2006-08-04 09:05:15 UTC (rev 683)
@@ -47,7 +47,7 @@
 
    public static Test suite()
    {
-      return JBossWSTestSetup.newTestSetup(DIIClientTestCase.class, "jbossws-test-eventing.war, jbossws-test-eventing-client.jar");
+      return JBossWSTestSetup.newTestSetup(DIIClientTestCase.class, "jbossws-test-eventing.war");
    }
 
    public void setUp() throws Exception
@@ -100,12 +100,9 @@
       File mappingFile = new File("resources/eventing/WEB-INF/jaxrpc-mapping.xml");
       assertTrue("jaxrpc-mapping.xml found", mappingFile.exists());
       
-      URL mappingURL = mappingFile.toURL();
-
       // construct service and setup handlers
       ServiceFactoryImpl serviceFactory = (ServiceFactoryImpl)ServiceFactory.newInstance();
-      //ServiceExt service = (ServiceExt)serviceFactory.createService(new URL(wsdlLocation), SERVICE_NAME, mappingURL);
-      ServiceExt service = (ServiceExt)serviceFactory.createService(new URL(wsdlLocation), SERVICE_NAME);
+      ServiceExt service = (ServiceExt)serviceFactory.createService(new URL(wsdlLocation), SERVICE_NAME, mappingFile.toURL());
       setupHandlerRegistry(service);
 
       return service;




More information about the jboss-svn-commits mailing list