Has anyone figured out how to populate the values of the soap fault that is sent back to the client when an error occurs?
From the soap spec, it looks like this information should be bundled into the detail element, but the only data I can get into the soap fault is some text in the faultstring. Even that contains a lot of extra garbage since my exceptions are caught & rethrown before getting serialized into the soap fault. I've tried throwing an AxisFault, but it didn't seem to help.
we use ordinary Java exceptions for that purpose whose messages (and I think I also saw the stacktraces) are put into the SOAPFault by Axis, Axis even generates the appropriate WSDL structure for you.