Author: richard.opalka(a)jboss.com
Date: 2011-06-17 09:48:04 -0400 (Fri, 17 Jun 2011)
New Revision: 14576
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.java
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws944/JBWS944TestCase.java
Log:
fixing test to don't use EJB3 @RemoteHomeBinding & @RemoteBinding proprietary
annotations
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.java 2011-06-17
13:27:37 UTC (rev 14575)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.java 2011-06-17
13:48:04 UTC (rev 14576)
@@ -27,8 +27,6 @@
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
-import org.jboss.ejb3.annotation.RemoteHomeBinding;
-import org.jboss.ejb3.annotation.RemoteBinding;
import org.jboss.ws.api.annotation.WebContext;
@@ -37,8 +35,6 @@
@SOAPBinding(style = SOAPBinding.Style.RPC)
@Remote({EJB3RemoteBusinessInterface.class})
@RemoteHome(EJB3RemoteHome.class)
-@RemoteBinding(jndiBinding="FooBean01/remote")
-@RemoteHomeBinding(jndiBinding="FooBean01/remote")
@Stateless(name = "FooBean01")
public class EJB3Bean01 implements EJB3RemoteBusinessInterface
{
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws944/JBWS944TestCase.java
===================================================================
---
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws944/JBWS944TestCase.java 2011-06-17
13:27:37 UTC (rev 14575)
+++
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jbws944/JBWS944TestCase.java 2011-06-17
13:48:04 UTC (rev 14576)
@@ -69,7 +69,7 @@
public void testNarrowedRemoteAccess() throws Exception
{
InitialContext iniCtx = getInitialContext();
- Object obj = iniCtx.lookup("/FooBean01/remote");
+ Object obj = iniCtx.lookup("/FooBean01/home");
EJB3RemoteHome ejb3Home = (EJB3RemoteHome)PortableRemoteObject.narrow(obj,
EJB3RemoteHome.class);
EJB3RemoteInterface ejb3Remote = ejb3Home.create();