Vatican says some 40,000 Catholic faithful attended the pontiff's service in Uruguay's western city of Paysandu.