title: SOAP envelope response xml validate
body: <p>I have a soap envelope</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8'?&gt;
  &lt;soapenv:Envelope 
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:noNamespaceSchemaLocation="file:///Users/michael/Downloads/soap.xsd"&gt;
  &lt;soapenv:Body&gt;
  &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>soap.xsd is just a local version of <a href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow noreferrer">http://schemas.xmlsoap.org/soap/envelope/</a> saved to soap.xsd</p>
  
  <p>when i try to validate this, it says the schema target is incorrect per the targetAction</p>
  
  <p>All trial and error point to the xmlns:xsi tag as giving the error</p>
  
  <p>I wonder if it has to do with SOAP 1.0 vs 1.1</p>
  
  <p>(i have been able to validate the xml inside the soap with the exact same method)  im pretty sure this can be done in one element, but for the sake of sanity, im trying to get this to work</p>