Here is a goal: To seal a pvc pipe to its top cap, you can

Which way makes more sense to accomplish this goal?

Pick from:
(i) Use a soldering iron.
(ii) Use pvc solvent.
(ii)