A service is taking place later to honour the thousands of soldiers who served in Northern Ireland during the Troubles.