tags:

views:

29

answers:

3

Hello,
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?

+3  A: 

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.

marc_s
A: 

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.

Paulie Waulie
the OP is trying to create C# code from an existing WSDL - kinda the opposite of what WSCF Blue does, no??
marc_s
No, it creates C# code from an existing WSDL.
Paulie Waulie
A: 

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

ILya