40 watts is MORE than enough. Are you heating the wire first, then adding the solder? Make sure to use alligator clips for heat sinks so as to not melt the dielectric. If your out of practice, practice on some spare wire of the same (or close to the same) gauge.
I do power cord soldering w/40 watts.
I do power cord soldering w/40 watts.