File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply 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
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
Have you considered JAXB?
Best wishes!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to convert an object recieved as a response to a local value bean
 
Similar Threads
Webservices in java
How to compile the EJB client codes at the remote JVM?
want to set a primary key element in xml schema file
How to access the JSON reponse from a java client
converting a form bean to value object