How to validate soap response using multiple schema ?
Posted: Mon Jun 24, 2013 4:20 pm
Hello,
I use Oxygen ( Professional version ) , I have the following soap response ( fault contains custom elements) :
I know how to validate it against one schema at a time ( using enveleop.xsd from the toolbar menu ) , but how can I validate it against multiple schemas ( SOAP-ENV , ns1 and ns2 ) , I cannot choose more than one at a time?
Or if there is a solution through xml code , it's fine.
Thanks
I use Oxygen ( Professional version ) , I have the following soap response ( fault contains custom elements) :
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://xyz.gov/ErrorStructure/xml/schemas/version2.0"
xmlns:ns2="http://xyz2.gov/Service/version/1.0">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>1234</faultcode>
<faultstring>Error</faultstring>
<faultactor/>
<detail>
<ns2:commonError>
<ns1:Source>SA</ns1:Source>
<ns1:ErrorType>Business Error</ns1:ErrorType>
</ns2:commonError>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Or if there is a solution through xml code , it's fine.
Thanks