Click here to Skip to main content
11,928,569 members (51,641 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET WSDL
heyy...iam new in wsdl...I created a web service ..and invoke that it works fine..but now I want to call the web service from WSDL.(or webservice to WSDL..)..I don't know how to make WSDL and call the web service...

could you help mee..any link or solution..???
Posted 20-Feb-13 10:28am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


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


Check your configuration file for this setting:

       <servicemetadata httpgetenabled="true">

The httpGetEnabled attribute must be set to true.

I suppose you are using WCF
srmohanr 15-Oct-13 6:47am
Hi, Thanks for your help. Now I am getting data from a website. How can I get WSDL file from the web site. Please help
I don't understand your question. It is the same thing.
srmohanr 15-Oct-13 8:28am
Actually my URL will be like So I added, but it's not working
virendersingh10289 28-Feb-14 1:33am

when i put on my browser then page is blank,,,why my wsdl file not show in my page????

Pleas help me.....i m stuck
Improved my answer. Check it out.
SoMad 28-Feb-14 21:12pm
:thumbsup: Nice continued effort.

Soren Madsen

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 28 Feb 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100