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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...