ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Understanding JAXB: Java Binding Customization
Subject:   JAXB Problem
Date:   2005-09-10 00:44:48
From:   tinny_indian
I have repeated book element in my XML. I have created a schema

<xs:element maxOccurs="unbounded" ref="book"/>

Book is a sub-element of Books

But now when I bind it using JAXB in Websphere, the Java Class created doesnot have method to set book (it just has method to get book).
What can be the problem??