The agreement , negotiated over the last year in Beijing , is the highlight of a three-day trip to Australia by Prime Minister Wen Jiabao of China , and underscores the importance of Australia as a base for China 's widening demand for natural resources .