简体   繁体   中英

Generate WebService producer from WSDL in Visual Studio 2005

I have a WSDL file defining the interface for a web service and I want to implement that service (ie producer/server code) using C#, ASP.Net and Visual Studio 2005. Setting up a Web Reference as consumer of a web service is a breeze, but as a producer isn't as obvious.

In the java world there is wsdltojava. Is there something similar to this?

Yes there is. And wait for it, it is called wsdl.exe !

The file lives in the Microsoft Windows SDK bin directory (for older version of .NET, the .NET SDK may be in another location).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM