Package org.apache.juddi.samples

Examples of org.apache.juddi.samples.HelloWorld


          long duration2 = System.currentTimeMillis() - startTime2;
          System.out.println("2. Cache Lookup - Elapsed time: " + duration2 + "[milliseconds] Endpoint=" + endpoint2);
         
          //Invoke the endpoint using 'endpoint2'
          HelloWorld_Service helloWorldService = new HelloWorld_Service();
          HelloWorld helloWorld = helloWorldService.getHelloWorldImplPort();
          Map<String, Object> requestContext = ((BindingProvider) helloWorld).getRequestContext();
      requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpoint2);
      String reply = helloWorld.sayHi("Judy");
          System.out.println("*************** Service reply: " + reply);
      //need to call shutdown to take down the LiveCache Callback Endpoint.
          Thread.sleep(10l);
          serviceLocator.shutdown();
          //TODO JUDDI-610
View Full Code Here

TOP

Related Classes of org.apache.juddi.samples.HelloWorld

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.