title: wso2 esb validate mediator always says the request is invalid
body: <p>I am using wso2 esb 4.0.3 and I have some problem in making the  mediator to work . </p>
  
  <p>The problem is with the given schema, even though I send the correct soap request the validate mediator evaluates the request in invalid and so the sequence configured in the on-fail is always getting executed </p>
  
  <pre><code>&lt;inSequence&gt;   
      &lt;validate source="$body/reg:RegistrationServiceRequest"&gt;
           &lt;on-fail&gt;
                  &lt;sequence key="registrationFaultSequence"/&gt;
           &lt;/on-fail&gt;
           &lt;schema key="gov:com/testcompany/RegistrationWrapperAttributeTypes.xsd"/&gt;
           &lt;schema key="gov:com/testcompany/RegularRegistrationWrapperTypes.xsd"/&gt;
      &lt;/validate&gt;
      .....
  &lt;/inSequence&gt;
  </code></pre>
  
  <p>I verified the validity of soap request through SoapUI also and it says the request is valid but wso2 thinks it is invalid </p>
  
  <p>Can anybody suggest whats wrong with the above configuration ?</p>
  
  <p>Thanks
  S</p>