I have a SOAP xml response.
I have a xsd file.
But is there a way in the header of the SOAP xml response to inject the location of the xsd schema file, and just validate the XMLDocument
Here is what i have come up with, but just does not work
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:getCCMVersionResponse xmlns:ns="http://www.cisco.com/AXL/API/10.5">
<return><componentVersion>
<version>10.5.2.11900(3)</version>
</componentVersion>
</return>
</ns:getCCMVersionResponse>
</soapenv:Body>
</soapenv:Envelope>
im trying to change the header
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
to
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://test123a.epizy.com/getCCMVersion.xsd">
i have tried schemaLocation, and i have also tried file:///Users/me/Documents/getCCMVersion.xsd
can anyone help?
this guy never got an aswer