Soldering, e.g. brazing, or unsoldering taking account of the properties of the materials to be soldered