Andy Roddick was taken to three sets by 7 (5-7), 6 (7-5), 6-4 in second-round action at the $531,000 SAP Open.

Third-seeded Milos Raonic of Canada, the reigning champion, also moved into the quarterfinals with 6-2, 7-6 (9-7) win over Tobias Kamke of Germany on the hardcourts at HP Pavilion.

The second-seeded Roddick, a three-time San Jose champion (2004-05, 2008), lost his first service game in the third set -- the first break of the match -- before earning two breaks of his own to win the two-hour, 42-minute affair.

Earlier Wednesday, top-seeded Gael Monfils of France withdrew from the tournament with a right knee injury. He will also skip out on the Regions Morgan Keegan Championships in Memphis, Tennessee scheduled to be played February 20-26.

Lucky loser Blake Strode will take Monfils' spot in the San Jose draw.

There were also four first-round matches on Wednesday.

Sixth-seeded Frenchman Julien Benneteau converted just two of his 16 break point opportunities and dropped both break points against him, but he grinded out a 7-6 (7-3), 7-6 (7-5) win over American Ryan Sweeting. Benneteau won on the hardcourts at Apia International Sydney in January.

Uzbekistan's Denis Istomin drove out American Sam Querrey 5-7, 6-3, 7-5. The former top-20 performer Querrey fired 15 aces in defeat.

In other opening-round action, American Ryan Harrison upset eighth-seeded Belgian Olivier Rochus 4-6, 6-2, 6-3 and Aussie Matthew Ebden outlasted Israeli Dudi Sela 6-7 (7-9), 6-2, 7-6 (7-1).

The 2012 SAP Open champ will earn $95,860.