The full attack action does not, in and of itself, provoke an AoO. However, 'attacking with a ranged weapon' is an example of a distracting action under Attacks of Opportunity: Performing a Distracting Act on PHB p137.
So if, in the course of a full attack action, you attack with a ranged weapon, you provoke an AoO... not for the full attack action, but for attacking with a ranged weapon. Just as if, in the course of an attack (melee) action, you attempt a disarm, you provoke an AoO... not for the attack (melee) action, but for the disarm.
-Hyp.