public void OnBeginSaveTransaction(Session session) { try { TimestampService service = new TimestampService(); cachedTimeStamp = service.GetTime(); } catch { throw new Exception("Cannot access the TimeStampWebService. Make sure it's running."); } }