Nanowires are fundamental building blocks for many applications such as sensors/biosensors, photonics, electronics, energy conversion and storage devices, and MEMS/NEMS devices. However, one of the most challenging issues is how to form effective solder joint to connect small feature nanodevices. In this work, we have successfully synthesized multi-segmented nanowires, such as tin-gold-nickel-gold-tin (Sn-Au-Ni-Au-Sn), through a template-assisted electrodeposition method. These multi-segmented nanowires were designed with a magnetic core in the middle and two soldering segments on both ends in order to meet the requirement of easy manipulation and soldering. Through magnetic-assisted assembly and IR soldering, these nanowires were connected into ordered structures. The suitable conditions for solder joint formation on interdigitated electrodes were investigated. After IR soldering, a large electrical resistance drop was observed on interdigitated electrodes. These ordered 2D or 3D structures formed by self-assembly and IR-soldering have many potential applications for sensors, electronics, energy conversion and storage devices.