Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web service Response to DOM

 
knpatel patel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, All

i want to use third party web service which is in .NET, i have wsdl file for that so from that using wsdl2java command, i have created client classes. and i have coded Client to access this web service. now, i have made a call to web service operation which returns xml file.
so how should i pass this return object for parsing to DOM.

when i pass saved xml file for parsing to my parser, it parses file sucessfully. the saved file is generated from call to web service on .NET platform.

Please help me...


Thanks
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on what you want to do with the response. The code generated by wsdl2java should have classes and methods to work with the response on an object level, which is much easier to deal with than processing the raw XML.
 
knpatel patel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The response to web service call is list of database tables and its values. so i want to parse it and then want to insert it into HSQL DB.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"knpatel patel", if you haven't read your private messages (click on the "My Private Messages" link at the top of the page), then you need to do so urgently; your account is about to be closed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic