Solder that beads up and rolls off means one or all of three things.
1. The metal surface must be clean. Use a fine grade of emery cloth to polish the metal in that area to a shiny new copper finish.
2. You MUST use acid soldering flux. Since this is copper water piping, probably the common brown paste type that plumbers use is OK. But be sure to use that. Put some on the pipe before heating, but as you heat the pipe the paste may drain off, so be prepared to wipe more on just before applying the solder.
3. Not enough heat. The solder metal itself melts at a relatively low temperature, so it's easy to melt - it flows well before the pipe material itself is hot enough. Although you obviously don't try to melt the copper pipe, having it hot enough is important to get the solder to bond to it when it melts. Heating a large piece of copper can be tough because the heat flows away from the work area easily. So use a fairly big propane torch - the common kind that uses a disposable tank of gas is OK if you use a large nozzle - and spend some time heating it so that it really is hot.
All of this is so that the melted solder actually will "wet" the copper. When it does that, the solder will not run off. It will spread in a film over the hot copper surface and down into the crack, bonding to the metal surfaces. Keep the pipe hot while you apply the solder, but you do not need to aim the torch flame right at the solder. Let the hot pipe melt the solder. When you think it has spread out enough and sunk into the crack enough to cover the whole job, that's when to stop heating and let it cool. My jobs like this often end up looking rather messy, so after cooling I need to file or emery-cloth the area to remove excess solder and junk, When completely done, WASH the accessible areas to remove the acid flux past so that it does not remain and start corrosion.
If the pipe is close to a wall, you will need to protect that wall from all the heat and flame. A sheet of metal - aluminum flashing or galvanized steel, maybe - can be inserted between the pipe and wall, then removed later. CHECK the wall for any sign of damage or especially of actual smouldering fire.