aspose file tools*
The moose likes XML and Related Technologies and the fly likes Exception while UNmarshalling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Exception while UNmarshalling" Watch "Exception while UNmarshalling" New topic
Author

Exception while UNmarshalling

Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
Hi ranchers

I am getting following exception while UNMarshalling amy XML string.

javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"RequestType"). Expected elements are <{http://www.i2c.com/fc/services/XML/Request}Request>

Can any one please help me on this. Below is the schema and the XML

Schema is


XML is


"Know where to find the solution and how to use it - that's the secret of success."
 
wood burning stoves
 
subject: Exception while UNmarshalling