The anisotropic Kondo-necklace model