How to consuming webservice having WSDL and XSD files

Posted by Prabu_Spark under ASP.NET on 7/20/2013 | Points: 10 | Views : 1379 | Status : [Member] | Replies : 1
Hi sir,

We've requested a company to write a webservice that we can use to get some information.They have sent us WSDL and XSD files. Could you please tell me how I can use these files to query data? I can do it easily if I have a link to a webservice. I just provide the link and Visual Studio generates web reference for me. After that I can use that reference just like a normal class. In this case I have no link. Just above mentioned files.

I cant able to pass the parameters into the method defined in wsdl file, it shows object reference not set to an instance of the object.
Can anyone tell me how to use xsd file to pass the parameters into wsdl webservice method to get the response from the webservice.
Kindly give me the solution for this problem.

With regards,


Posted by: aswinialuri-19361 on: 7/21/2013 [Member] Starter | Points: 25

hi ,
to consume an web services
use-> add service reference to your solution a proxy can be created

Mark as Answer if it helps you
Aswini Aluri

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response