Anisotropic Heisenberg model with general spin