title: How to get my Web Service response XML to validate in Liquid XML Studio?
body: <p>Web Service code (ASP.NET 2.0):</p>
  
  <pre><code>[WebMethod]
  [return: XmlElement("TestMe")]
  public string TestMe(int value)
  {
    return value.ToString();
  }
  </code></pre>
  
  <p>The will result in this response:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;soap:Body&gt;
      &lt;TestMeResponse xmlns="http://example.org/WebServiceTest"&gt;
        &lt;TestMe&gt;7499&lt;/TestMe&gt;
      &lt;/TestMeResponse&gt;
    &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>If I save this as a XML file, open it up in <a href="http://www.liquid-technologies.com" rel="nofollow noreferrer">Liquid XML Studio</a> and try to validate it, I get this error message:</p>
  
  <pre class="lang-none prettyprint-override"><code>Could not find schema information for the element 'http://example.org/WebServiceTest:TestMeResponse'.
  Could not find schema information for the element 'http://example.org/WebServiceTest:TestMe'
  </code></pre>
  
  <p>So how do I add the correct namespace and/or schema for this to validate correctly?</p>
  
  <p>My WSDL ...asmx?WSDL includes the schema definition for the TestMeResponse and TestMe elements, but how do I get this into the response?</p>