[jboss-user] [JBossWS] - Using Java 5 Generics for Webservices

opepin do-not-reply at jboss.com
Mon Jan 8 10:58:59 EST 2007


Hello, 

Is it possible with jboss WS and jsr-181 to use Generics in a Webservice interface.

ie:

@WebMethod
public ContentSet getContent()
{
    ...
}


with:
public class ContentSet 
{
     T[] items;
     
      .... 
      ....
}

Currently (jboss 4.0.5) the generated wsdl does not generate the correct types and the webservice dos not work.

Is it supposed to work ?

Thank for your help,
Olivier


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

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



More information about the jboss-user mailing list