An Iraqi member of al-Qaida has confessed to killing a Jordanian taxi driver and kidnapping two employees of Morocco 's embassy in Baghdad .