1 Reply Latest reply on Apr 20, 2007 5:57 AM by Thomas Diesler

    Issues with JBoss5 Beta 1 and WebService Annotations

    Todd Hunt Newbie

      I'm trying to run a simple test in which I'd like to deploy an EJB in JBoss 5 Beta 1 (with Java 6). I've created an interface and implementation class (see below), put them in a JAR file and deploy the JAR. I can see on the console output that it is reading in the JAR file and creating an EJB, but there is nothing for the WebService. When I got to http://localhost:8080/jbossws/services there are no services listed. There are no errors reported either. I would expect something to come back. Is there a setting that needs to be changed for WebServices to auto deploy in JBoss 5? Is this a bug?




      package com.simple;
      import javax.jws.WebService;
      import javax.jws.WebMethod;
      import java.rmi.Remote;
      public interface Hello extends Remote {
       void speak();

      package com.simple;
      import javax.jws.WebService;
      import javax.ejb.Remote;
      import javax.ejb.Stateless;
      public class HelloBean implements Hello{
       public void speak(){