为.NET Web服务生成WSDL [英] Generate WSDL for a .NET web service

查看:100
本文介绍了为.NET Web服务生成WSDL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我迫切需要为Web服务创建WSDL文件.我不必使Web服务正常运行,只需编写接口并创建WSDL.

是否有任何工具可用于

最好的方法是什么?请提出任何建议.这很紧急.

I have an urgent requirement to create the WSDL file for Web service.I do not have to make the web service functional, just write the interfaces and create a WSDL.

Is there any tool for doing this?

What is the best way to go about it?Any suggestions please.It is urgent.

推荐答案

您可以使用任何VS模板来创建您的Web服务.然后,您可以根据需要修改接口.然后运行该服务(即使它对接口的实现没有任何作用)之后,您也可以看到该服务的WSDL.

建议:您可以使用WCF编写Web Service,编写其Web Service.接口并非常轻松地访问其WSDL.
You can use any of the VS templates to create your web service. Then you can modify your interfaces as you want. And then after running the service (even if it does nothing with the implementation of the interfaces) you can see the WSDL of your service.

Suggestion: you can use WCF to write a Web Service, write its interfaces and access its WSDL very easily.


这篇关于为.NET Web服务生成WSDL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆