public BoolTO isValidStopCode(string stopCodeId) { BoolTO result = new BoolTO(); try { MdwsUtils.checkNullArgs(MdwsUtils.getArgsDictionary( System.Reflection.MethodInfo.GetCurrentMethod().GetParameters(), new List <object>() { stopCodeId })); result.trueOrFalse = new EncounterApi().isValidStopCode(_mySession.ConnectionSet.BaseConnection, stopCodeId); } catch (Exception exc) { result.fault = new FaultTO(exc); } return(result); }