If there is any flex in the cable, or it's subject to vibration, then a solder joint is not ideal and is likely to fracture over time.

A suitable crimp join (be that plug&socket or just crimps), should be far more reliable.