[jboss-cvs] JBossAS SVN: r74624 - trunk/testsuite/src/main/org/jboss/test/webservice/jbas5614.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 16 10:35:20 EDT 2008


Author: alesj
Date: 2008-06-16 10:35:20 -0400 (Mon, 16 Jun 2008)
New Revision: 74624

Modified:
   trunk/testsuite/src/main/org/jboss/test/webservice/jbas5614/JBAS5614TestCase.java
Log:
Fixing CCE bug - using the right Service class.

Modified: trunk/testsuite/src/main/org/jboss/test/webservice/jbas5614/JBAS5614TestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/webservice/jbas5614/JBAS5614TestCase.java	2008-06-16 14:32:20 UTC (rev 74623)
+++ trunk/testsuite/src/main/org/jboss/test/webservice/jbas5614/JBAS5614TestCase.java	2008-06-16 14:35:20 UTC (rev 74624)
@@ -24,7 +24,7 @@
 import junit.framework.Test;
 
 import javax.naming.InitialContext;
-import javax.xml.ws.Service;
+import javax.xml.rpc.Service;
 
 import org.jboss.test.webservice.WebserviceTestBase;
 
@@ -52,7 +52,9 @@
       if (port == null)
       {
          InitialContext iniCtx = getClientContext("jbossws-client");
-         Service service = (Service)iniCtx.lookup("java:comp/env/service/HelloWorldService");
+         Object lookup = iniCtx.lookup("java:comp/env/service/HelloWorldService");
+         log.info("Lookup: " + lookup + " [" + lookup.getClass() + "]");
+         Service service = (Service)lookup;
          port = (HelloWorld)service.getPort(HelloWorld.class);
       }
    }




More information about the jboss-cvs-commits mailing list