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

advertisement

AddThis Social Bookmark Button
Article:
  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??