Lieberman said his support for the Arizona Senator is based on McCain 's military career and legislative experience and their common view of U.S. foreign policy .