He served as the General Counsel for both the Panama Railroad Company and later the Isthmian Canal Commission . He served as the general counsel to both the Panama Railroad Company and later the Isthmian Canal Commission . He served as the General Counsel of the Isthmian Canal Commission and later the Panama Railroad Company .