TEHRAN - Iran sounded out Japan on Tuesday about President Hassan Rouhani visiting the Asian country, a source close to bilateral relations said, as Tehran looks for a way out of an impasse over a nuclear deal with world powers.