Click here to Skip to main content
Rate this: bad
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 at 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 at 15-Oct-13 8:28am
Actually my URL will be like So I added, but it's not working
virendersingh10289 at 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 at 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
0 Peter Leow 390
1 Sergey Alexandrovich Kryukov 330
2 Zoltán Zörgő 258
3 CHill60 195
4 CPallini 155
0 Sergey Alexandrovich Kryukov 8,943
1 OriginalGriff 6,631
2 Peter Leow 4,102
3 Zoltán Zörgő 3,714
4 Kornfeld Eliyahu Peter 2,525

Advertise | Privacy | Mobile
Web04 | 2.8.150123.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