Author: alessio.soldano(a)jboss.com
Date: 2009-05-08 06:46:01 -0400 (Fri, 08 May 2009)
New Revision: 10008
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws944/JBWS944TestCase.java
Log:
[JBCTS-540][JBWS-944] svn merge -r 10006:HEAD
https://svn.jboss.org/repos/jbossws/framework/branches/jbossws-framework-...
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.java 2009-05-08
10:25:25 UTC (rev 10007)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.java 2009-05-08
10:46:01 UTC (rev 10008)
@@ -27,6 +27,8 @@
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.wsf.spi.annotation.WebContext;
@@ -35,6 +37,8 @@
@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:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws944/JBWS944TestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws944/JBWS944TestCase.java 2009-05-08
10:25:25 UTC (rev 10007)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws944/JBWS944TestCase.java 2009-05-08
10:46:01 UTC (rev 10008)
@@ -68,12 +68,6 @@
// the home interface and that it can be narrowed to it.
public void testNarrowedRemoteAccess() throws Exception
{
- if (true)
- {
- System.out.println("FIXME [JBCTS-540] EJB3 proxy does not implement the
Home interface");
- return;
- }
-
InitialContext iniCtx = getInitialContext();
Object obj = iniCtx.lookup("/FooBean01/remote");
EJB3RemoteHome ejb3Home = (EJB3RemoteHome)PortableRemoteObject.narrow(obj,
EJB3RemoteHome.class);