Using a WSDL provided by a third party in C# project
-
Hi, I have a WSDL provided by a third party supplier that i would like to use in my C# code however currently i'm struggling to find a way to use the WSDL. I looked at their example and they're using ASMX file in the C# project in order to invoke the methods exposed by the service. If i wanted to use methods available in the WSDL in the C# project, how do i import the WSDL into the project?
-
Hi, I have a WSDL provided by a third party supplier that i would like to use in my C# code however currently i'm struggling to find a way to use the WSDL. I looked at their example and they're using ASMX file in the C# project in order to invoke the methods exposed by the service. If i wanted to use methods available in the WSDL in the C# project, how do i import the WSDL into the project?
-
Yes thats right. Sorry i didn't make it clear. What's the correct way of importing the WSDL into the C# project? Is it using Web Reference or Service Reference?
No, what Richard suggested was: "talk to the supplier" I.e. the supplier of the WSDL, not a random website that probably isn't at all familiar with that particular service...
Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!
-
Yes thats right. Sorry i didn't make it clear. What's the correct way of importing the WSDL into the C# project? Is it using Web Reference or Service Reference?
And a trivial Google (using part of your last sentence as the search string) would have told you anyway: importing the WSDL into the C - Google Search[^] The top link is even expanded for you!
Quote:
Start Visual Studio. On the File menu, select New > Project. ... In the New Project dialog box, enter the desired settings, then click OK. In the Solution Explorer pane, right-click on References. ... In the Add Web Reference dialog box, enter the URL to the web service's WSDL document.
Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!