sol  =  Series[y[x], {x, 0, 10}]

Solve[{D[sol, {x, 2}]  +  x*D[sol, x]  +  sol  == 0, 
        y[0] == 1, y'[0] == 0}]

sol  /.  First[%3]

sol