Java Mailing List Archive

http://www.junlu.com/

Home » JDOM Projects »

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

Ajay Sharma

2012-12-04

Replies: Find Java Web Hosting

Author LoginPost Reply

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@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.