NEW YORK — Oprah Winfrey and former Secretary of State Hillary Rodham Clinton paid surprise visits to Barbara Walters on Thursday as the veteran newswoman taped her final edition of “The View” to end a half-century career on television.

After hailing Walters for helping open the door to women in TV news, Winfrey introduced a parade of some two dozen prominent on-air women for whom Walters helped pave the way. They included Katie Couric, Diane Sawyer and Robin Roberts.