Hi, I developed a very simple EJB 3 bean, I can deploy it with no error, but the web service is not exposed. This is what I did: 1) Wrote the code as shown below; 2) compile and jar into hello.jar; 3) copy the jar to server/default/deploy;
Please help, what did I miss? I am using 4.2.2.GA Hello.java: | package org.jboss.ws.hello; | | | import java.rmi.Remote; | | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | import javax.jws.soap.SOAPBinding.Style; | | @WebService | public interface Hello extends Remote { | @WebMethod | String echo(String e); | } | HelloBean.java: | package org.jboss.ws.hello; | | | import javax.ejb.Remote; | import javax.ejb.Stateless; | import javax.jws.*; | import javax.jws.soap.*; | | @Stateless | @WebService(endpointInterface = "org.jboss.ws.hello.Hello") | @Remote(Hello.class) | public class HelloBean { | public String echo(String e) { | return "Web Service Echo + " + e; | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147022#4147022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147022 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user