0 Replies Latest reply on Sep 21, 2005 7:17 AM by dabrigo

    Generate complex typemappings with XDoclet

    dabrigo

      Hi all,
      is there a way to generate the complex typemapping in the jaxrpc-mapping.xml file? I've done a test with this bean:

      public class CartItem {
       private int id;
       private String name = "";
       private String description = "";
       private int numberInCart;
      
       public String getDescription() {
       return description;
       }
       public int getId() {
       return id;
       }
       public String getName() {
       return name;
       }
       public int getNumberInCart() {
       return numberInCart;
       }
       public void setDescription(String description) {
       this.description = description;
       }
       public void setId(int id) {
       this.id = id;
       }
       public void setName(String name) {
       this.name = name;
       }
       public void setNumberInCart(int numberInCart) {
       this.numberInCart = numberInCart;
       }
      }

      but what i get in the mappings is only an xsd:anyType.
      Can someone help me?