Author: heiko.braun(a)jboss.com
Date: 2006-12-19 08:13:51 -0500 (Tue, 19 Dec 2006)
New Revision: 1669
Modified:
trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefClientTestCase.java
Log:
Fix JBWS-1430
Modified:
trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefClientTestCase.java
===================================================================
---
trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefClientTestCase.java 2006-12-18
19:38:13 UTC (rev 1668)
+++
trunk/src/test/java/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefClientTestCase.java 2006-12-19
13:13:51 UTC (rev 1669)
@@ -34,6 +34,8 @@
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
import org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory;
+import org.jboss.ejb3.client.ClientLauncher;
+import org.jboss.client.AppClientLauncher;
/**
* Test the JAXWS annotation: javax.xml.ws.WebServiceref
@@ -70,13 +72,13 @@
assertEquals(helloWorld, retObj);
}
- public void testApplicationClient() throws Exception
+ public void testApplicationClient() throws Throwable
{
String helloWorld = "Hello World!";
ApplicationClient.iniCtx = getInitialContext();
-
- System.out.println("FIXME [JBWS-1430]: Fix client side @WebServiceRef");
- //ClientLauncher.launch(ApplicationClient.class.getName(),
"jbossws-client", new String[]{helloWorld});
- //assertEquals(helloWorld, ApplicationClient.retStr);
+
+ AppClientLauncher apl = new ClientLauncher();
+ apl.launch(ApplicationClient.class.getName(), "jbossws-client", new
String[]{helloWorld});
+ assertEquals(helloWorld, ApplicationClient.retStr);
}
}
Show replies by date