Resonant magnetic scattering of polarized soft x-rays