how long do you think someone would continue shooting if he started it at a police station? how many times have you heard of a shooting at police station?? (a hint, all cops are armed) why aren't soldiers?
Soldiers on guard duty are armed.
Cops don't walk around the office carrying, so neither do soldiers on a military base, in what's supposed to be a safe country (ie they are armed and armoured in Iraq).