A series of explosions shook the Iraqi capital Wednesday , while a high-ranking U.S. official visited the country .