Green functions of the anisotropic Heisenberg model