public TaggedLabTestArrays getLabTests(string target) { TaggedLabTestArrays result = new TaggedLabTestArrays(); if (MdwsUtils.isAuthorizedConnection(mySession) != "OK") { result.fault = new FaultTO("Connections not ready for operation", "Need to login?"); } if (result.fault != null) { return result; } try { LabsApi api = new LabsApi(); return new TaggedLabTestArrays(api.getTests(mySession.ConnectionSet, target)); } catch (Exception exc) { result.fault = new FaultTO(exc); } return result; }