JAXBException while unmarshalling an xml file

S

Sikku

Hi all,
Im trying to unmarshall an xml file which i have in the form of a
StringReader. When i try to unmarshall it by calling the following
unmarshall method

Envelope env = (Envelope) unmarshaller.unmarshal(new
StreamSource(xmlReader));
its throwing a JAXBException

[12/9/06 15:25:41:859 GMT] 39eb6d00 SystemOut O
DefaultValidationEventHandler: [ERROR]: uncompleted content model.
expecting: <Response>
[12/9/06 15:25:41:219 GMT] 236dad00 SystemErr R
com.sun.msv.verifier.ValidityViolation: uncompleted content model.
expecting: <Response>

can anyone please suggest what might be the possible solution for this
problem.


Thanks in advance.....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top