The foreign ministers of Japan and China agreed Sunday to go forward with mutual visits by Prime Minister Shinzo Abe and Chinese President Xi Jinping.

The agreement came as Chinese Foreign Minster Wang Yi makes a rare visit to Tokyo, in a sign of improving cooperation between Asia's two largest economies as they face policy whiplash from the U.S. over trade and security.

Wang's trip to meet his Japanese counterpart, Taro Kono, became the first of its kind in more than eight years.