Provincial officials said two attackers blew themselves up and one Afghan soldier was wounded in the fighting , which began about 10 a.m. when the insurgents opened fire from a building under construction near an army barracks .