[jboss-user] [JBossWS] - ArrayList or Set as return type in a web method ?

AnisBM do-not-reply at jboss.com
Thu Dec 6 04:37:13 EST 2007


Hi,

Is it possible to have a web method which returns a Set or an ArrayList ?

For examle :


  | @WebMethod
  | public ArrayList<Equipe> getEquipeList() {
  | 	EquipeBean equipeBean = getEquipeBean();
  | 	ArrayList<Equipe> equipes = (ArrayList<Equipe>)equipeBean.getEquipeList();
  | 	return equipes;
  | }
  | 

Regards.
Anis

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

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



More information about the jboss-user mailing list