ServiceUtils.executeService(userView, "InsertInstitution", new Object[] { institutionName });
try{ ServiceUtils.executeService(userView, "InsertInstitution", new Object[] { institutionName }); }catch(FenixServiceException e){ ActionMessages actionMessages = new ActionMessages(); actionMessages.add("", new ActionMessage(e.getMessage())); saveMessages(request, actionMessages); return mapping.getInputForward(); }
    public ActionForward insertInstitution(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixFilterException,            FenixServiceException, NonExistingActionException {        IUserView userView = SessionUtils.getUserView(request);        DynaActionForm dynaForm = (DynaActionForm) form;        String institutionName = (String) dynaForm.get("institutionName");        ServiceUtils.executeService(userView, "InsertInstitution", new Object[] { institutionName });        List institutions = null;        try {            institutions = (List) ServiceUtils.executeService(userView, "ReadInstitutions", null);        } catch (NonExistingServiceException ex) {            throw new NonExistingActionException(ex.getMessage(), mapping                    .findForward("insertProfessorShip"));        }        request.setAttribute("institutions", institutions);        return mapping.findForward("insertProfessorShip");    }