An xp model on AdS2 spacetime