This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception while UNmarshalling  RSS feed

Amirr Rafique
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers

I am getting following exception while UNMarshalling amy XML string.

javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"RequestType"). Expected elements are <{}Request>

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

Schema is

XML is
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!