[jboss-dev-forums] [JBoss XML Binding Development] - Re: Element is not bound as a global element.
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Thu Nov 26 09:58:05 EST 2009
Because binding is based on Java annotations. CourseBooking is not bound to any specific element, so the default name is based on the class name and is course-booking.
Add @XmlRootElement.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267680#4267680
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267680
More information about the jboss-dev-forums
mailing list