Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception while UNmarshalling

 
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 <{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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic