Re: Converting Result Set into XML and returning through Web Service
Rolf Lear <[email protected]> Tue, 04 Dec 2012 06:33:12 -0500
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <[email protected]> |
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. Rolf 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 =96 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/[email protected] > _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]