This discussion is archived
2 Replies Latest reply: Aug 3, 2012 4:03 AM by gimbal2 RSS

Jaxb unmarshalling and setvalidating()

937017 Newbie
Currently Being Moderated
I am using jaxb 1.0 with jdk1.4 , i am trying to unmarshall the incoming request which a xml.
It has a element called attachment list which is mandatory as per the schema. but i dont want my unmarshaller to validate request and throw error instead i just need to objects from unmarshaller. so i set the setvalidating(false).but i am still getting the validation error.Any help in this is highly appreciated.


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