Hello All, this is a very common problem but I still need a specific solution if someone can please provide me with a solution.
JAXB.unmarshal('file', class);
However because of the namespaces present in the xml file the class object is not getting populated with the inner elements.
The turnaround I found was to create a JAXBContext
object create and unmarshaller and then make it namespace aware.
I am inquisitive if there are any other solutions to the same.