But he also encouraged China to be a responsible stakeholder in global affairs .