I am developing a web service where I need to create Result set data into XML tree. Previously I was using Jdevloper 10 and there I can send org.w3c.Document object.
But the problem now is that I migrated to Jdevloper 11 and in Jdevloper 11 it is not allowed to return Interface through web service. When I used JDOM 2 API and tested I got following error at the time of exposing Class as web service.
a. org.jdom2.Parent – Not a Java bean.
What is the reason behind this ? Is there any other approach ?