A compact high precision eight-axis automatism and two-axis manual soft-ray polarimeter with a multilayer has been designed, constructed, and installed in 3W1B at the Beijing Synchrotron Radiation Facility (BSRF). Four operational modes in the same device, which are double-reflection, double-transmission, front-reflection-behind-transmission and front-transmission-behind-reflection, have been realized. It can be used for the polarization analysis of synchrotron radiation. It also can be used to characterize the polarization properties of the optical elements in the soft X-ray energy range. Some experiments with Mo/Si and Cr/C multilayers have been performed by using this polarimeter with good results obtained.