3 Replies Latest reply on Feb 15, 2006 8:28 AM by Thomas Diesler

    help in jbossws webservice

    shiraz memon Newbie

      Hi,

      Is it possible to get the source code of example explained in webinar named SOA with JBoss webservices by anil sadhana on nov 2, 2005. As a reference i m copying the code of slsb ejb3 webservice below:

      import javax.ejb.Remote;
      import javax.ejb.Stateless;
      import javax.jws.WebMethod;
      import javax.jws.WebService;
      
      import org.jboss.annotation.ejb.RemoteBinding;
      import org.jboss.ws.annotation.PortComponent;
      
      @WebService(name = "EndpointInterface", targetNamespace = "http://www.openuri.org/2004/04/HelloWorld", serviceName = "TestService")
      @PortComponent(contextRoot="/jsr181", urlPattern="/*")
      @Remote(CalculatorRemote.class)
      @RemoteBinding(jndiBinding="/ejb3/EJB3EndpointInterface")
      @Stateless
      public class CalculatorBeanWS implements CalculatorRemote{
       @WebMethod
       public int add(int i, int j) {
       // TODO Auto-generated method stub
       return i+j;
       }
      
      }
      
      


      Problem is, firstly i dont know what packaging files and steps are needed to deploy and secondly also unaware about the client calling that webservice.

      I also would like to know that when jboss is releasing ws-notification implementation.

      Shall be grateful for your kind reply in advance.

      many thanks,

      IshQ