Generating Service Contract from a WSDL
-
19-09-2019 - |
Question
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
Solution
Contract first tool for WCF
OTHER TIPS
Make sure you have the most updated WSDL that matches the current service definition.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow