Hi. This happened to me last year when it took me 3 separate tries, each time resulting in a leaky soldered joint! The water in the pipe obviously kept turning to steam and making the soldered joint leak. On my last try, it finally took hold solidly. Someone suggested I use bread, as it would temporarily stop the water and then dissolve/be washed out. However, I was soldering the hot water pipes for my heating system and didn't think it was a good idea to have bread floating around in there indefinitely.
I'm now reading a how-to book that mentions a fix for soldering pipes when water's still inside. It says to install a "bleed valve" or "drain fitting" or "vent fitting." I have no idea what these words refer to. Can anyone describe? or refer to an online photo? Thanks! Theodore