Package org.jboss.test.ws.jaxws.samples.serviceref

Examples of org.jboss.test.ws.jaxws.samples.serviceref.EJBRemote


   {     
      // JAXWS <service-ref> is only supported in EE5
      if (isTargetJBoss5())
      {
         InitialContext iniCtx = getInitialContext();
         EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("/EJBClient/remote");

         String helloWorld = "Hello World!";
         Object retObj = ejbRemote.echo(helloWorld);
         assertEquals(helloWorld, retObj);
      }
   }
View Full Code Here


   }

   public void testEJBClient() throws Exception
   {     
      InitialContext iniCtx = getInitialContext();
      EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("/EJBClient/remote");

      String helloWorld = "Hello World!";
      Object retObj = ejbRemote.echo(helloWorld);
      assertEquals(helloWorld, retObj);
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.ws.jaxws.samples.serviceref.EJBRemote

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.