Ancelotti 'hopeful' of James