Yes, I think we all get that you liked how Thor Ragnarok handled a similar situation. But the point remains, she only was able to beat Ares once she turned to her inner power (and you're free to see this as a deus ex machina), but the fact remains, up until that point, she was in real danger.
Fine, I see it as a Deus Ex Machina because they were too incompetent to think of any other way out.
If you just wanted "real danger", a formidable nemesis suffices, it would seem. But no, you keep bringing up Wonder Woman being shot or generally hurt by soldiers.
Because we didn't get a formidable nemesis. A formidable nemesis would be someone she couldn't beat even with her deux es machina powers.
By the way, Superman is never in any real danger when soldiers shoot at him, because he's bulletproof.!
He's is danger from other Kryptonians, from Kryptonite weapons and from Doomsday.