This discussion is archived
0 Replies Latest reply: Apr 9, 2012 4:05 AM by user575682 RSS

JAXB parsing failing

user575682 Newbie
Currently Being Moderated
Hi,
I am using JAXB compiler to generate class.
I generate the package and when i tried to unmarshal................
It is failing with below error. I tried invoking http://www.tar.bet.com/my/deal/comp/
I am getting host not found exception, could you please let me know whether this will result in below error.


javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.tar.bet.com/my/deal/comp/", local:"EnterDetail"). Expected elements are <{http://www.tar.bet.com/my/deal/datatype/}ENTER_NAME_OF_ROOT_ELEMENT_HERE>

Edited by: user575682 on Apr 9, 2012 4:34 PM

Edited by: user575682 on Apr 9, 2012 4:35 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points