Package org.apache.juddi.samples

Examples of org.apache.juddi.samples.HelloWorld.sayHi()


          //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
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.