title: WCF How to generate service from wsdl and xsd - Contract First
body: <p>I need to generate a web service based on wsdl and xsd defined by external party. This is for Healthcare and wsdl and xsd is defined by an external committee and it has to be implemented as defined (www.caqh.org/SOAP/WSDL/CORERule2.2.0.wsdl www.caqh.org/SOAP/WSDL/CORERule2.2.0.xsd)</p>
  
  <p>Is there a tool to generate c# classes in dot net? I am using VS2012 and dot net framework 4.0. My background is in Java and I have done this before using tools like Axis2 wsdl2java with appropriate switches. My goal is to get a skeleton interfaces and classes decorated with required annotations that is defined in the wsdl and xsd. Then I can fill in the methods and business logic. I have seen some online posts that mentions the use of svcutil.exe but all of them addresses how to generate a client code not the web service code.</p>