you can probably get a little washer looking thing to put over the end of the metal pipe. It goes on the outside, and has a taper on teh side that would mate to the pvc coming form the wall. You put a threaded coupler on the metal tude, then the washer towards the end of the pipe. You do the same on the pvc side, and screw the couplers together. Hard to describe, but it works. If I can find a pic, I'll link to it.
http://www.acehardware.com/sm-workin...g-1280920.html
see step 3, middle picture.