I have a no-soap scenario, where i need to handle the soap response and the soap fault using the same xslt/structure.
Either the SOAP response comes or the fault message comes.
I need to remove the soap envelope.
And accomodate both the messages using a single structure.
I do have the flexibility of changing the target hierarchy.
The response is like this
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope>
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<out6:struct1>
<struct2>
...
...
</struct2>
</out6:struct1>
<s/oapenv:Body>
</soapenv:Envelope>
My fault message is as follows
<soapenv:Envelope>
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<soapenv:Fault>
...
</soapenv:Fault>
<s/oapenv:Body>
</soapenv:Envelope>