Yes, an infection after vaccination can happen. Reference the NC State baseball team. Or the NY Yankees organization earlier this year. No vaccination is 100% effective. But, historically, vaccinations have proven to reduce the severity of any infection if it is contracted.
I had the measles...