Three military dead, fifteen wounded in attack