Creating classes 'back' from WSDL

删除回忆录丶 提交于 2019-12-11 10:49:50

问题


I've got some WSDL description of a protocol which I need to implement (-> client 'knows' the API, I need just to write server for it). Is there any tool for c# that will generate some starting classes for me?


回答1:


Sure - check out svcutil.exe .

From MSDN:

The ServiceModel Metadata Utility tool is used to generate service model code from metadata documents and metadata documents from service model code.

The ServiceModel Metadata Utility Tool can be found at the Windows SDK installation location, specifically, C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin

svcutil.exe is the WCF-related tool for this job - with WCF being available in .NET 3.0 and higher.




回答2:


I've just started using WSCF Blue which generates WSDL files from xsd and service and data objects from a WSDL. It's pretty good.




回答3:


wsdl.exe is a standard utility to work with wsdl services. Here is a link http://msdn.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx



来源:https://stackoverflow.com/questions/3676663/creating-classes-back-from-wsdl

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