public TaggedOefOifArray getOefOif() { TaggedOefOifArray result = new TaggedOefOifArray(); string msg = MdwsUtils.isAuthorizedConnection(mySession, null); if (msg != "OK") { result.fault = new FaultTO(msg); } if (result.fault != null) { return result; } string sitecode = mySession.ConnectionSet.BaseSiteId; try { AbstractConnection cxn = mySession.ConnectionSet.getConnection(sitecode); PatientApi api = new PatientApi(); OEF_OIF[] rex = api.getOefOif(cxn); result = new TaggedOefOifArray(sitecode, rex); } catch (Exception e) { result.fault = new FaultTO(e.Message); } return result; }