1) most headphone wires have some kind of coating on them that prevent them from being soldered or repaired
2) Some brands, like sennheiser, come with a detachable cord that you can buy a replacement for
Unless yours have a replaceable cord, which they clearly don't.... you're fscked.