He was also aiming to display his foreign policy credentials , with his advisers taking pains to point out that his rival in November 's election , Democratic senator Barack Obama , had never been to Latin America .