how to create a wsdl file from webservice?

Posted by Prabu_Spark under ASP.NET on 6/27/2013 | Points: 10 | Views : 1243 | Status : [Member] | Replies : 1
Hi sir,
I created a web service, its working fine. I want to share a wsdl file for webservice to my client. I dont know
how to generate a wsdl file from webservice. Kindly give me the solution for this problem.

With regards,


Posted by: Niladri.Biswas on: 6/27/2013 [Member] Platinum | Points: 25


You must have a webservice like this http://localhost/MyWebService.asmx

For retreive your webservice wsdl you must put this address at the browser address bar:

If you want to use this wsdl, you must go to the visual studio and add web reference with the wsdl address. You can also, generate your service proxy by command-line, executing:
wsdl.exe http://localhost/MyWebService.asmx?wsdl

Best Regards,
Niladri Biswas

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

Login to post response