AdS/CFT correspondence for n-point functions