Hundreds of Wimborne residents came together to honour those who had died during conflict.