Wiener-Hopf formulation for wedge problems