Harry B. Wolfe, 62, president of River Bend Real Estate in Great Falls, Va., and a retired management analyst for the National Security Agency, died Monday in a Morgantown, W.Va., hospital following a heart attack.

A building contractor, he had been in West Virginia on a business trip.

Mr. Wolfe was born in Bayard, W.Va.

He joined the Department of the Army as a civilian training adviser in 1941. After World War II, he served as an administrative assistant at the war crimes trials in Nuremburg, Germany. He was with the military occupation government before returning to Washington in 1951. He then worked as an administative officer in the State Department for two years.

Mr. Wolfe then joined the National Security Agency as a management analyst. He worked there for 18 years before retiring in 1971, when he began his construction and real estate businesses.

He was a member of the Great Falls Grange and chairman of the Great Falls Community Committee.

Mr. Wolfe was lay leader of the Forestville United Methodist Church in Great Falls.

He is survived by his wife, Mary, of the home in Great Falls; a son, Christopher A., of Randallstown, Md; a daughter, Barbara W. Busser, of McLean, and four grandchildren.