Officers were responding to a call of a woman shot and immediately came under fire upon arrival, officials said.