We have studied by means of density-functional calculations the wetting properties of Ar and Ne adsorbed on a plane whose adsorption properties simulate the Li and Na surfaces. We use reliable ab initio potentials to model the gas-substrate interactions. Evidence for prewetting transitions is found for all the systems investigated and their wetting phase diagrams are calculated