BEIJING (Reuters) - Japan should play a “constructive” role at the upcoming G20 summit in the Chinese city of Hangzhou because cooperation is in the interests of all parties, China’s top diplomat told a visiting Japanese envoy.

A man rides an electronic bike past a billboard for the upcoming G20 summit in Hangzhou, Zhejiang province, China, July 29, 2016. Picture taken July 29, 2016. REUTERS/Aly Song

Ties between Asia’s two largest economies have long been overshadowed by arguments over their painful wartime history and a territorial spat in the East China Sea, among other issues.

Beijing has also accused Tokyo of interfering in the South China Sea, where China and several Southeast Asian nations are embroiled in an argument over ownership.

Japanese Prime Minister Shinzo Abe will attend the summit, which starts next weekend, along with other world leaders including U.S. President Barack Obama.

Chinese state councillor Yang Jiechi, who outranks the foreign minister, told the head of Japan’s National Security Council, Shotaro Yachi, that Japan should “play a constructive role” at the G20 summit, state news agency Xinhua reported late on Thursday.

“The improvement of China-Japan ties has been continuously disturbed by various problems, especially the issues related to East China Sea and South China Sea, which is in the interests of neither side,” Xinhua paraphrased Yang as saying.

Yachi also met Chinese Premier Li Keqiang.

“The China-Japan relationship is still very fragile although there is a momentum of improvement,” Li said, according to Xinhua.

Li said he hoped Japan would adopt a “correct understanding of China and fulfill the commitment to taking China’s development as its opportunity”.

Xinhua said Yachi read a letter from Abe to Li, in which Abe said Japan expected a successful G20 summit and was willing to enhance cooperation with China in this regard.