Hi, I've read the user guide on fault/exception handling
(http://xfire.codehaus.org/Fault+and+Exception+Handling).
<http://xfire.codehaus.org/Fault+and+Exception+Handling%29.>..
The issue I'm having is, how do I return a global exception that contains a
list of detailed exceptions... I have created an exception that extends
org.codehaus.xfire.fault.FaultInfoException. In this class, I want to hold
a list of detailed error messages. But in the SOAP response, the contents
of the list do not get printed out...
So, I want something like this: (aside from syntax... you get the point..)
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Validation errors.</faultstring>
<detail>
<ApiException xmlns=" http://www.myservices.com">
<ApiError>
<detailMsg>More explaination here...</detailMsg>
<code>23432</code>
</ApiError>
<ApiError>
<detailMsg>More explaination here...</detailMsg>
<code>123</code>
</ApiError>
<ApiError>
<detailMsg>More explaination here...</detailMsg>
<code>938</code>
</ApiError>
etc...
</ApiException>
</detail>
</soap:Fault>
Thanks!