Inserting pvc pipe into wall for kitchen drain
I wouldn't just throw cement on a PVC pipe and shove it in there. You need to clean off the rust, corrosion and other debris that's in the cast iron pipe. Grind out the rough/rust spots so you have a smooth surface. Then get an compression donut from your plumbing store that fits in your cast iron pipe and also your PVC pipe. Follow the directions and you should be good to go..
(picture from Home Depot site)