This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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