Ability of a foreign substance, such as an antigen, to provoke an immune response in the body of a human or other animal. Wanted immunogenicity typically relates to vaccines, where the injection of an antigen (the vaccine) provokes an immune response against the pathogen, protecting the organism from future exposure.