jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "anyType to JavaBean" Watch "anyType to JavaBean" New topic

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,

I agree. Here's the link: http://aspose.com/file-tools
subject: anyType to JavaBean
It's not a secret anymore!