MessageBody responseBody = context.getResponseMessageBody();
Object response = responseBody.getData();
if (response instanceof ErrorMessage)
{
ErrorMessage error = (ErrorMessage)response;
ASObject aso = new ASObject();
aso.put("message", error.faultString);
aso.put("code", error.faultCode);
aso.put("details", error.faultDetail);
aso.put("rootCause", error.rootCause);