views:

249

answers:

2

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

A: 

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

JP Alioto
both the client proxy and the ServiceContract are generated from the same wsdl file.
Keivan
+2  A: 

Contract first tool for WCF

http://wscfblue.codeplex.com/

Keivan
I dont understand the downvote, would you care to explain?
Keivan
Maybe the downvoter didn't realize this is _your_ question.
John Saunders
even then, why would it be down voted? isn't it a valid answer?
Keivan
It's valid, but if the answer was from someone else, it would be a fairly bad answer. It's not considereed good to just throw in a link. BTW, you might edit this answer to say a little more about this tool: why is it useful? How does it answer your question, etc.
John Saunders