Exact solutions in the Yang-Mills-Wong theory