java Programming Glossary: relationcanonical
java.util.List is an interface, and JAXB can't handle interfaces http://stackoverflow.com/questions/298733/java-util-list-is-an-interface-and-jaxb-cant-handle-interfaces until I changed the return type from List to List List RelationCanonical Here is the partial webservice @Name relationService @Stateless.. Identity.instance .isLoggedIn @WebMethod public List List RelationCanonical getRelationsFromPerson @WebParam name username String username.. you will need to define a JAXB type which holds a List RelationCanonical I'll call it Type1 and another one to hold a list of those types..
|