aspose file tools*
The moose likes Web Services and the fly likes Help needed with unmarsheller 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 » Java » Web Services
Bookmark "Help needed with unmarsheller" Watch "Help needed with unmarsheller" New topic

Help needed with unmarsheller

amulya gudapati

Joined: Feb 27, 2008
Posts: 5
I have the below code

JAXBContext ctx;

try {

ctx = JAXBContext.newInstance("testpkg.test");
unMarshaller = ctx.createUnmarshaller();

reader = new StringReader(testXML);

testpkg.Test test =

Test is the java object from the test.xml file created using xjc compiler.

in test.xml I have an element <abc> value </abc>

now after the code above i need to get that element <abc> value into a String.

please help...
I agree. Here's the link:
subject: Help needed with unmarsheller
Similar Threads
module level struts-config.xml file
DOM XML Parsing - Newbie
Effect of nillable=true
JRE 1.4.2 to 1.5 Migration issue in XML
Problem in castor please help