[jdom-interest] Converting Result Set into XML and returning through Web Service

Rolf Lear jdom at tuis.net
Tue Dec 4 03:33:12 PST 2012

JDOM classes are not JavaBeans either, and org.jdom2.Parent is an 
interface too.

I don't know enough about JDeveloper to be helpful with that either.

Basically you should probably ask people who ar emore familiar with 
JDeveloper than with JDOM.


On 04/12/2012 1:15 AM, Ajay Sharma wrote:
> Hi,
> 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.
> Exception:
> 1.Oracle.j2ee.ws.common.tools.api.ValidationException:
> a.org.jdom2.Parent – Not a Java bean.
> What is the reason behind this ? Is there any other approach ?
> Regards,
> Ajay Sharma
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list