Warriors in WvW/PvP
You can play the way you like in WvW it just means you have to invest time in figuring out what works best best gear wise and build wise.
You can excel at WvW as a Melee Ranger or a Ranged Warrior.
Word of advice: really solid builds are rarely shared on the forums, when they do its weeks or months after the said player has moved away from it.
The other way to learn about really good builds is from professional gamers who need you to subscribe and follow them.
Durable melee?
Just reroll to guardian, which is basically a durable melee warrior. Or use your ele as melee D/D, it’s far durable than a warrior can ever be.
Warrior needs regen, protection and proper condition removal to withstand the melee damage churn.