I'm glad that worked for you! I will say though that categorizing an exception in Java code by looking at its message is not a best practice. It's fragile for one thing. If a new version of whatever created the SoapFaultException changes the wording of the error message, your code will break. I would look at methods like SoapFaultException.getFaultCode() and SoapFaultException.getFaultString() and see if you can get enough information from them for your purposes. The fault code, especially, would be less likely to change without notice.