Is there any way I can create a WSDL file from WCF Service Application?

前提是你 提交于 2019-12-12 12:50:54

问题


Im creating a WCF Service application, I dnt want to give the URL to the client use rather I need to give a Single WSDL file.

How I can do it?


回答1:


svcutil will generate its if you need it to. Check out http://msdn.microsoft.com/en-us/library/aa702581.aspx for details.




回答2:


C:>svcutil.exe /t:metadata http:/localhost:1234/testservice.svc?singleWsdl




回答3:


Use disco.exe http:///service.svc Will be generate .disco, .wsdl and .xsd (optional more than one).

I think disco.exe better than svcutil.exe



来源:https://stackoverflow.com/questions/4178350/is-there-any-way-i-can-create-a-wsdl-file-from-wcf-service-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!