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 anyType to JavaBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "anyType to JavaBean" Watch "anyType to JavaBean" New topic
Author

anyType to JavaBean

Jose Campana
Ranch Hand

Joined: May 28, 2007
Posts: 339
Hello !

Good day, I would like to query about something, I have absolutely no clue about.

I developed a web service that implements anyType as one of its input parameters. I used the SOAPElement-anyType strategy to send the SOAP message part that corresponds to the anytype input paramenter of the web-service operation. It worked successfully.

Now, I'm in the need to know how can I do an automatic deserialization for the web-service response, which as well has an anytype as its response.

To be more specific I need to know how can I automatically deserialize an anytype WS response that roughly looks like this .... (as XML, without SOAPEnvelope):



into a Java Bean that would correspond to the response, that basically looks like this:



Is there an article around I could read about this process?, I've seen it done in .Net.
Could anybody help me?

Best Regards,

Jose
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: anyType to JavaBean
 
Similar Threads
SOAP Fault for SOAP Action property
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
conditional axis web service - sample nowhere
Strange behavior with input parameter valuse during web service invocation
How to obtain more than one Response from a Web Service