File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes need java code for xmlbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "need java code for xmlbeans" Watch "need java code for xmlbeans" New topic

need java code for xmlbeans

p.praveen reddy

Joined: Apr 27, 2007
Posts: 1
Hi, i need xml tag as

here i am using xsd as follows:

I am able generate xmlbeans jar using "scomp" command .After that i am setting xml value through java as

but i am getting error "no setMessageId();" method.
can any one please help me to solve this problem.
Advance thanks to you.
thanks, praveen reddy.p
I agree. Here's the link:
subject: need java code for xmlbeans
Similar Threads
Attribute declaration in XML Schema
Question about Extension
Jaxb marshalling exception
[XML Schema] same elementname, different attributes
XMLBeans - Retrieving an attribute and a simple value from the same element