Engineer
Major
The J-15 take off from the chinese carrier uses Al-31 why?
Simple. The planes are usable so China is putting them to good use. There are J-15s flying with WS-10H as well.
J-15 flying with Al-31 does not make your statement about WS-10 not in production any less false, as WS-10 is already in mass production equipping J-11Bs.
Not only that, but WS-10A is satisfactory enough to be flown on a single engine prototype, as picture of J-10B below shows.