Examples of echo()


Examples of org.jboss.test.ws.jaxws.samples.serviceref.EJBRemote.echo()

      {
         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

Examples of org.jboss.test.ws.jaxws.samples.webserviceref.EJB3Remote.echo()

      {
         InitialContext iniCtx = getInitialContext();
         EJB3Remote ejb3Remote = (EJB3Remote)iniCtx.lookup("/EJB3Client/remote");

         String helloWorld = "Hello World!";
         Object retObj = ejb3Remote.echo(helloWorld);
         assertEquals(helloWorld, retObj);
      }
      finally
      {
         undeploy("jaxws-samples-webserviceref-ejb3-client.jar");
View Full Code Here

Examples of org.jboss.test.ws.jaxws.samples.webserviceref.Endpoint.echo()

    */
   public String testService1(String reqStr) throws Exception
   {
      EndpointService service = (EndpointService)iniCtx.lookup("java:comp/env/Service1");
      Endpoint port = service.getEndpointPort();
      return port.echo(reqStr);
   }

   /**
    * Customize config-name, config-file
    */
 
View Full Code Here

Examples of org.jboss.test.ws.jaxws.samples.webserviceref.TestEndpoint.echo()

    */
   public String testService1(String reqStr) throws Exception
   {
      TestEndpointService service = (TestEndpointService)iniCtx.lookup("java:comp/env/Service1");
      TestEndpoint port = service.getTestEndpointPort();
      return port.echo(reqStr);
   }

   /**
    * Customize config-name, config-file
    */
 
View Full Code Here

Examples of org.jboss.test.ws.jaxws.webserviceref.TestEndpoint.echo()

    */
   public String testService1(String reqStr) throws Exception
   {
      TestEndpointService service = (TestEndpointService)org.jboss.test.ws.jaxws.webserviceref.TestEndpointClientTwo.iniCtx.lookup("java:comp/env/Service1");
      TestEndpoint port = service.getTestEndpointPort();
      return port.echo(reqStr);
   }

   /**
    * Customize config-name, config-file
    */
 
View Full Code Here

Examples of org.jboss.tutorial.asynch.bean.Echo.echo()

   public static void main(String[] args) throws Exception
   {
      InitialContext ctx = new InitialContext();
      Echo echo = (Echo) ctx.lookup("EchoBean/remote");
      System.out.println("-------- Synchronous call");
      String ret = echo.echo("normal call");
      System.out.println(ret);

      // Create the asynchronous proxy
      Echo asynchEcho = AsyncUtils.mixinAsync(echo);
      System.out.println("-------- Asynchronous call");
View Full Code Here

Examples of org.jdesktop.wonderland.modules.phone.common.messages.LockUnlockMessage.echo()

  if (message instanceof PlayTreatmentMessage) {
      PlayTreatmentMessage m = (PlayTreatmentMessage) message;

      logger.fine("play treatment " + m.getTreatment()
    + " to " + listing.getExternalCallID() + " echo " + m.echo());

            if (listing.simulateCalls() == true) {
    return;
      }
View Full Code Here

Examples of org.jdesktop.wonderland.modules.phone.common.messages.PlayTreatmentMessage.echo()

  if (message instanceof PlayTreatmentMessage) {
      PlayTreatmentMessage m = (PlayTreatmentMessage) message;

      logger.fine("play treatment " + m.getTreatment()
    + " to " + listing.getExternalCallID() + " echo " + m.echo());

            if (listing.simulateCalls() == true) {
    return;
      }
View Full Code Here

Examples of org.knowhowlab.osgi.testing.it.commons.testbundle.service.Echo.echo()

        serviceTracker2.open();
        Assert.assertTrue(serviceTracker2.size() > 0);
        // gets service by class and filter
        Echo echo = (Echo) serviceTracker2.getService();
        // asserts service method call
        Assert.assertEquals("test", echo.echo("test"));
        // stops bundle
        bundle.stop();
        // asserts that test bundle is resolved
        Assert.assertEquals(Bundle.RESOLVED, bundle.getState());
        // asserts that test service is unregistered
View Full Code Here

Examples of org.knowhowlab.osgi.testing.it.testbundle.service.Echo.echo()

        serviceTracker2.open();
        assertTrue(serviceTracker2.size() > 0);
        // gets service by class and filter
        Echo echo = (Echo) serviceTracker2.getService();
        // asserts service method call
        assertEquals("test", echo.echo("test"));
        // stops bundle
        bundle.stop();
        // asserts that test bundle is resolved
        assertEquals(Bundle.RESOLVED, bundle.getState());
        // asserts that test service is unregistered
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.