Police said there were several casualties in a shooting attack at Jerusalem's old city.