This is a play on words. The phrase "soldiering on" means to continue to do something even though it is difficult but "soldiering" sounds like "shouldering" refering to part of the body connected to the body. Here, "shouldering on" means carrying on despite the soldier having an injured shoulder.
A young corporal dislocated his arm during a battle but kept going . You could say he was shouldering on .