Wakefield (12) 18
Tries: Rooney, Blanch, Drew Goals: Brough 3
Hull (6) 26
Tries: Houghton, Yeaman, Hall 2, Briscoe Goals: Tickle 3
Houghton scored Hull's opening try
Hull produced a second-half fightback to beat Wakefield in a rehearsal for the Challenge Cup semi-final.
The visitors struck through Danny Houghton before tries from Jamie Rooney and Damien Blanch and Danny Brough's penalty put Wakefield ahead.
But Hull took over after the break, with quick tries from Kirk Yeaman and Craig Hall putting them back in front.
Tom Briscoe added another try and a superb Hall solo effort sealed the win before Brad Drew scored a consolation.
The win was only the sixth of the season for Hull and it lifts them to 10th place in the table.
And the result will give them renewed confidence for their semi-final at Doncaster's Keepmoat Stadium on 27 July.
Hull were badly in need of a boost after winning just one of their last eight matches and they made the more impressive start.
They went in front after 11 minutes when hooker Houghton touched down his own grubber kick, which had bounced back off a post. Danny Tickle added the conversion.
But the Wildcats began to get on top as the first half wore on and took the lead with the aid of two tries in four minutes midway through the half.
Stand-off Rooney re-gathered a grubber kick by hooker Drew for the first and winger Blanch took advantage of a kind bounce following Brough's high kick. Brough added the conversion.
Wakefield thought they had extended their lead but Dale Ferguson brushed aside the challenge of Yeaman to cross the line, but video referee Steve Ganson disallowed the try because of an obstruction by team-mate Jason Golden.
However, the home side added a Brough penalty before the interval to go in on top.
After the break, Hull played with more purpose and, with Willie Manu causing havoc with his offloads, they presented all sorts of problems for the Wakefield defence.
Manu created a try for Yeaman and was also instrumental in Shaun Berrigan sending substitute Hall over, both scores coming within nine minutes of the restart.
Full-back Matt Sing and stand-off Danny Washbrook both lost the ball going for further tries but the pressure paid off when young winger Tom Briscoe followed up Yeaman's kick to touch down.
And Hall made the game safe in the 70th minute when he took Briscoe's pass and raced 80 metres up the touchline, holding off a spirited rearguard effort by Drew, for his second try.
Drew then grabbed a third try for Wakefield but it was little more than consolation.
Wakefield coach John Kear:
"Our form is very scratchy at the moment and it's the worst possible month for it.
"You've got to question our mental fortitude. The semi-final is coming up and you try not to let it affect you but I think it obviously is. That's the stark reality of the situation.
"Our standards have dropped dramatically in the last three weeks."
Hull coach Richard Agar:
"I'm glad we dug a win out," said coach Richard Agar. "I thought it was a very energetic and gutsy effort.
"We would have made more of the possession we had in their quarter but that will improve when we get our half-backs out there.
"We had a lot of players playing out of position and that's why I'm not concerned it was an ugly win."
Wakefield: Blaymire, Blanch, Gleeson, Henderson, Petersen, Rooney, Brough, Moore, Drew, Wilkes, Ferres, Golden, Demetriou.
Replacements: Bibey, Ferguson, Obst, Sculthorpe.
Hull: Sing, Briscoe, G. Horne, Yeaman, Raynor, Washbrook, Berrigan, Dowes, Houghton, Thackray, Manu, Radford, Tickle.
Replacements: Broughton, Hall, Wheeldon, Cusack.
Referee: R Silverwood (Dewsbury)