Hi,
I have a client that in certain conditions may receive a SOAPFault from the server. The service spec that I'm working to says that the fault string will be one of four values and the client needs to be able to determine which of those values caused the error. According the Axis installation guide Axis will convert the fault to a Java exception. I can use getMessage() on the exception to get the Fault string but what's the best way of getting the fault code (to ensure it's a Server rather than a Client generated fault)?
In fact, is this really the only way that a client using generated stubs can access a SOAP fault?
Thanks
Aoife