We have QTP test environment setup where Request XML is send and Response XML from the target end point (WSDL) is received and verification on expected data for each node/sub node is performed. Now, I will also need to validate the received Response XML against WSDL just like when we do in SOAPUI. When I research most user advice to point to XSD against which it should be validated but in my case there is one parent XSD which has multiple XSD linked to it. When I point to parent XSD it give me errors like-
Could not find schema information for the element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope'
Could not find schema information for the element 'http://schemas.xmlsoap.org/soap/envelope/:Header'
Could not find schema information for the element 'http://schemas.xmlsoap.org/soap/envelope/:Body'
I believe this validation errors could be due to parent XSD which am pointing to is not holding the definition of these elements. How do I handle this issue? Is there a way thru which we can simply point to WSDL and do schema validation or is there a way to point to parent XSD but it will also refers to its respective linked XSD to it? Any example or weblinks on this would be much appreciated!
Thanks,
Dipesh