Glasgow's Baker is ranked 257th in the world and is the British No 3, while Ward is down at 360 – although he took a set off Marat Safin on his main draw Queen's debut in 2008.
They will join defending champion Andy Murray, Rafael Nadal, Novak Djokovic and Andy Roddick in the field.