Outrage as soldier sentenced to prison for opposing war