Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

anyType to JavaBean

Jose Campana
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic