The match will be played at the Workers Stadium on May 25 as part of the Winoly Cup International Football Tournament.
"It's fantastic for our name and our brand that we go to China," said van der Sar.
"It's a very large country with enormous potential. Therefore we are pleased that we are invited to play this game.
"We will travel with as strong a squad as possible to Beijing."