Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
aditya vanka
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you considered JAXB?
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic