In this paper we study the solutions and stability of the generalized Wilson's functional equation , where G is a locally compact group, σ is a continuous involution of G and μ is an idempotent complex measure with compact support and which is σ -invariant. We show that . We also study some stability theorems of that equation and we establish the stability on noncommutative groups of the classical Wilson's functional equation f(xy)+χ(y)f(xσ(y))=2f(x)g(y) x,y∈G where χ is a unitary character of G.