wood burning stoves
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
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: http://aspose.com/file-tools
subject: Help needed with unmarsheller
It's not a secret anymore!