Hi,
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?
Thanks,
TTH
INTERFACE
package com.simple; import javax.jws.WebService; import javax.jws.WebMethod; import java.rmi.Remote; @WebService public interface Hello extends Remote { @WebMethod void speak(); }
package com.simple; import javax.jws.WebService; import javax.ejb.Remote; import javax.ejb.Stateless; @WebService @Remote(Hello.class) @Stateless public class HelloBean implements Hello{ public void speak(){ System.out.println("Hello"); } }
Have a look at the many jaxws samples we provide.
The status of the latest can be monitored here
http://jbws.dyndns.org:8180/hudson/