This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes How to convert an object recieved as a response to a local value bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to convert an object recieved as a response to a local value bean" Watch "How to convert an object recieved as a response to a local value bean" New topic
Author

How to convert an object recieved as a response to a local value bean

aditya vanka
Greenhorn

Joined: Feb 22, 2008
Posts: 3
Hi,

In our project there is a framework which reads the respose of a webservice and converts it into an object which doesnot give us access to the respose xml from webservice, but now we have a requirement where we cannot carry the response object to the layers above and we are forced to convert the object manually into a value bean. This is a Complex object which 'has' multiple objects and collections. Is there a way, which allows us to copy the contents of the response object into a value bean with out having to do it manually.

Thanks in advance.

Aditya
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Have you considered JAXB?
Best wishes!
 
Don't get me started about those stupid light bulbs.
 
subject: How to convert an object recieved as a response to a local value bean