/**
  * Returns the revoke reason of a ceritificate with a given serial number
  *
  * @param serialNo serial number of certificate
  * @return revoke reason
  * @throws AxisFault
  */
 public int getRevokeReason(String serialNo) throws AxisFault {
   try {
     return stub.getRevokedReason(serialNo);
   } catch (Exception e) {
     String message = e.getMessage();
     handleException(e.getMessage(), e);
   }
   return 0;
 }