Florian Girault

Greenhorn
+ Follow
since Sep 05, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Florian Girault

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.
12 years ago