I have a written a java DOM code to read xml file and I need to use it to create a web service that reads xml files using netbeans
the problem is in the return type of the code since it's void the web service returns null
so I was wondering if there is another way to make the web service print the xml file contents or another return type for the method
here is my xml file "CV.xml"
and here is my DOM code
I know it's too long but thats how I learnt to write it