简体   繁体   English

在Visual Studio 2005中从WSDL生成WebService生产者

[英]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. 我有一个WSDL文件,用于定义Web服务的接口,我想使用C#,ASP.Net和Visual Studio 2005来实现该服务(即生产者/服务器代码)。将Web引用设置为Web服务的使用者是一种微风,但是作为制作人却不那么明显。

In the java world there is wsdltojava. 在Java世界中,有wsdltojava。 Is there something similar to this? 有类似的东西吗?

Yes there is. 就在这里。 And wait for it, it is called wsdl.exe ! 等待它,它叫做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). 该文件位于Microsoft Windows SDK bin目录中(对于较早版本的.NET,.NET SDK可能位于其他位置)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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