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.