Each gland makes a ball shape on the wall of each vas deferens . There is a tube linking the seminal glands which opens into the vas deferens and prostate gland . The excretory duct of seminal gland opens into the vas deferens as it enters the prostate gland .