2 Replies Latest reply on Aug 4, 2006 1:45 AM by jimmy mani

    how to make asynchronous call to webservice

    jimmy mani Newbie

      i have successfully executed the java ee 5 webservice example from jboss

      URL url = new URL("http://localhost:8080/hi/OrderProcessorUnit?wsdl");
      QName qname = new QName("http://hi.service.webservice.OrderProcessor/jaws", "OrderProcessorService");

      ServiceFactory factory = ServiceFactory.newInstance();
      Service service = factory.createService(url, qname);
      OrderProcessor webs = (OrderProcessor) service.getPort(OrderProcessor.class);

      i have an interface

      public interface OrderProcessor extends Remote {
      @WebMethod public String getWelcomeMessage();


      i have a webservice bean

      import javax.jws.WebService;

      public class OrderProcessorUnit implements OrderProcessor{

      public String getWelcomeMessage()
      return "hai welcome to service";

      accroding to this link


      i want to make an asynchronous call to the web service

      please help me in finding a solution to this

      it will be helpful if you can give me the changes to make in the client