This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.
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.
Joined: May 12, 2009
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.
Joined: Mar 22, 2005
"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.