wood burning stoves 2.0*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to convert an object recieved as a response to a local value bean