title: Do I need to send the XSD files with WSDL for implementation
body: <p>I am developing a WCF service in .net and would like to give the wsdl file to the customer who can consume our service. I successfully Generated the wsdl which includes the xsd import statement</p>
  
  <pre><code>&lt;xsd:import schemaLocation="https://URL/Service-v1.svc?xsd=xsd1" namespace="Service-v1" /&gt; 
  &lt;xsd:import schemaLocation="https://URL/PricingService-v1.svc?xsd=xsd3"  /&gt; 
  </code></pre>
  
  <p>etc</p>
  
  <p><strong>But what I would like to know is is that is enough to just send the wsdl to the customer or do I need to send them the XSD files as well..</strong></p>
  
  <p>How can I generate separate XSD files for each class like class1.xsd, class2.xsd, class3.xsd</p>
  
  <p>here is my project structure
  <strong>DataModel</strong>
    Class1.cs
    Class2.cs
    Class3.cs
    Response.cs
  <strong>Contract</strong>
    IService1 with the following contracts
      Response GetQuote1(Class1 class1Request);
      Response GetQuote2(Class2 class2Request);
      Response GetQuote2(Class2 class2Request);</p>
  
  <p><strong>Service</strong>
   Service1 : Iservice1</p>
  
  <pre><code>  public Response GetQuote1(Class1 class1Request)
    {
            return response;
    }
  
    public Response GetQuote2(Class2 class2Request)
    {
            return response;
    }
  
    public Response GetQuote3(Class3 class3Request)
    {
            return response;
    }
  </code></pre>
  
  <p>I search on the internet but couldn't be able to decide on the best option as we have no control over the other end who is going to implement our WCF service.</p>