Creating classes 'back' from WSDL
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开发者_如何学C me?
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.
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.
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
精彩评论