Given that humans are getting taller as time passes, the likelihood is that the tallest soldier served relatively recently.
Here is an article on a German soldier who fought in WW2 who was 7'6": http://www.telegraph.co.uk/news/newstopics/howaboutthat/7813500/Tallest-German-surrenders-to-short-soldier-in-Second-World-War-picture.html.
"Throughout history" questions are not allowed on AskHistorians because the quality of the answers tend to be poor. If you have concerns about why this post was removed, please respond to modmail.