The lack of security that led to some of the election problems continued to be an issue in Iraq , as one American soldier was killed and another was wounded just after noon on Wednesday in an insurgent attack on a convoy near Baghdad , the United States military said .