Target_MN_-_soa
12 years agoOccasional Contributor
How to validate a xsd file against the xml response.
I want to know how to validate the xsd file against the xml response for rest services.
The following is what i did
1. Browsed and attached the schema directory in WSDL Settings tab in preferences and click ok
2. open the test case and add assertion -> schema compliance (and i gave the path of the schema directory) "H://Schema/Location.xsd". (not sure if i am doing the right thing)
3. Run the test case and it gives me the error compliance - failed - java.lang.NullPointerException
Can somebody help?
The following is what i did
1. Browsed and attached the schema directory in WSDL Settings tab in preferences and click ok
2. open the test case and add assertion -> schema compliance (and i gave the path of the schema directory) "H://Schema/Location.xsd". (not sure if i am doing the right thing)
3. Run the test case and it gives me the error compliance - failed - java.lang.NullPointerException
Can somebody help?