• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to convert a SOAP Response to java class

 
vishnu vyasan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I am New to Webservices. I have a requirement of getting data from a WSDL.

I have generated a client using Apache axis and successfully deployed and run on Tomcat 4.1.

Now i dont know how to Convert the SOAP Response i am getting in to a plain java bean?

Regards
Vishnu NV
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The client code that was generated should contain methods that allow you to access the response data directly, without having to work with the actual SOAP response. What are you trying to achieve by creating some other object from the response? And -assuming that there's a good reason for it- what would be the rules for converting a SOAP response to a Java bean?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!