Starting from generating functional of Green function in phase space for a constrained Hamiltonian system. the generalized Ward identities in phase space for such system was deduced. The application of this identities to the QED and quark-gluon system were given. the results comparison with other conclusions were discussed. The treatment of constraints had been ignored by some authors. the supplementary proof was presented here in another point of view.