Hello I'm using jboss 4.0.5 in order to deploy webservices using anotations 
like @Webservice and @webmethod. When I deploy the aplication I get a 
webservice and a EJB3.0.

But when I deploy the same code in Jboss 5.0.0 the webservices doesn't work. 
The endpoint haven´t been publicated. Somebody can tell what I´m doing wrong.

Here an example of Webservice 
anonymous wrote : 
  | package bean;
  | import java.util.ArrayList;
  | import javax.ejb.Stateless;
  | import javax.jws.WebMethod;
  | import javax.jws.WebService;
  | 
  | @Stateless
  | @WebService
  | public class j4Bean {
  |     
  |     @WebMethod
  |     public ArrayList getInt(int num)
  |     {
  |             ArrayList list= new ArrayList();
  |             list.add("Hola");               
  |             
  |             return list;
  |     }       
  | }
  | 

Here is the interface
anonymous wrote : 
  | package bean;
  | 
  | import java.util.ArrayList;
  | 
  | import javax.ejb.Remote;
  | import javax.jws.WebMethod;
  | import javax.jws.WebService;
  | import javax.jws.soap.SOAPBinding;
  | import javax.jws.soap.SOAPBinding.Style;
  | 
  | @Remote
  | @WebService
  | @SOAPBinding(style=Style.RPC)
  | public interface j4 {
  |     
  |     @WebMethod ArrayList getInt(int num);
  | 
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006985#4006985

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006985

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to