XML Schema validation "Unable to locate a matching element declaration" webMethods

Hi

Got a solution for the following problem “Unable to locate a matching element declaration” while doing xml validation using
pub.schema:validate

  1. Check out whether your xml is having any target namespaces
  2. If yes check for any white space characters before the closing quotations in name space declarations. For e.g.,

<createRequest xmlns="http://java.sun.com/products/oss/xml/ServiceActivation "

  1. Remove the white space characters
    <createRequest xmlns=“http://java.sun.com/products/oss/xml/ServiceActivation

  2. Revalidate xml

Regards
Karpaga