Got a solution for the following problem “Unable to locate a matching element declaration” while doing xml validation using
- Check out whether your xml is having any target namespaces
- 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 "
Remove the white space characters