Hello,
I use EJB3-annotated Webservices in JBoss 4.0.4 GA. This worked fine, even with rather complex types, up until now.
I have an Interface
public interface EntityAware<E> {
 /**
 * @return an entity of type E
 * @throws EntityConversionException
 */
 E getEntity() throws EntityConversionException;
}
public class PersonInfo implements EntityAware<Person> {
 ...
 public Person getEntity() throws EntityConversionException {
 // TODO Auto-generated method stub
 return null;
 }
}
... <import namespace="http://reflect.lang.java/jaws" /> <import namespace="http://www.w3.org/2001/XMLSchema" /> <import namespace="http://cert.security.java/jaws" /> <import namespace="http://annotation.lang.java/jaws" /> <import namespace="http://lang.java/jaws" /> <import namespace="http://services.ws.foo.bar.com/jaws" /> <import namespace="http://net.java/jaws" /> <import namespace="http://security.java/jaws" /> <import namespace="http://util.java/jaws" /> ...