Author: alessio.soldano(a)jboss.com
Date: 2012-01-31 11:37:14 -0500 (Tue, 31 Jan 2012)
New Revision: 15550
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefEJB3TestCase.java
Log:
[JBWS-3422] Fixing lookup
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefEJB3TestCase.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefEJB3TestCase.java 2012-01-31
16:32:46 UTC (rev 15549)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefEJB3TestCase.java 2012-01-31
16:37:14 UTC (rev 15550)
@@ -66,7 +66,7 @@
try
{
InitialContext iniCtx = getInitialContext();
- EJB3Remote ejb3Remote =
(EJB3Remote)iniCtx.lookup("/EJB3Client/remote");
+ EJB3Remote ejb3Remote =
(EJB3Remote)iniCtx.lookup("ejb:/jaxws-samples-webserviceref-ejb3-client//EJB3Client!"
+ EJB3Remote.class.getName());
String helloWorld = "Hello World!";
Object retObj = ejb3Remote.echo(helloWorld);
Show replies by date