Hi,
I'm using a webservice that can throw multiple exceptions in the same response :
<soapenv:Fault xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<faultcode>Functional</faultcode>
<faultstring xsi:type="xs:string">ERROR 1</faultstring>
</soapenv:Fault>
<soapenv:Fault xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<faultcode>Functional</faultcode>
<faultstring xsi:type="xs:string">ERROR 2</faultstring>
</soapenv:Fault>
<soapenv:Fault xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
<faultcode>Functional</faultcode>
<faultstring xsi:type="xs:string">ERROR 3</faultstring>
</soapenv:Fault>
Does anyone have an idea of how to get all those 3 faults when catching an AxisFault exception in Java ?
It seems only the first fault is caught, and whenever I try to print the AxisFault stack, only ERROR 1 appears.
Thanks.