// Processing ... } catch (final AxisFault a) { System.out.println(a.getMessage()); }
Also, you need to ensure that, depending on the context of the web service client, the web service provides a meaningful exception message. Otherwise, it may not be possible for the handler of the AxisFault exception to react appropriately. However, sometimes failures occur unexpectedly and it will be necessary to resolve them in conjunction with the application server logs and/or the log4j output from Cúram and/or Axis2.