The anisotropic Heisenberg model in the long-range interaction limit