Generating Service Contract from a WSDL

3.9k Views Asked by At

I have a WSDL that I need to generate a ServiceContract (OperationContract, DataContract)...

I have found a way to do it for ASMX WebServices but can't seem to find how to do it in WCF.

I have tried running

svcutil AuthPartnerWSDL.wsdl  /i /messagecontract /tcv:version35

but the resulting interface doesn't deserialize the call coming in so all the request parameters to the service implementation are null

2

There are 2 best solutions below

3
kay.one On BEST ANSWER

Contract first tool for WCF

http://wscfblue.codeplex.com/

1
JP Alioto On

Make sure you have the most updated WSDL that matches the current service definition.