Boundary value problems originated by the diffraction of an electromagnetic (or acoustic) wave by a rectangular wedge with faces of possible different kinds are analyzed in a Sobolev space framework. The boundary value problems satisfy the Helmholtz equation in the interior (Lipschitz) wedge domain, and are also subject to different combinations of boundary conditions on the faces of the wedge. Namely, the following types of boundary conditions will be under study: Dirichlet-Dirichlet, Neumann-Neumann, Neumann-Dirichlet, Impedance-Dirichlet, and Impedance-Neumann. Potential theory (combined with an appropriate use of extension operators) leads to the reduction of the boundary value problems to integral equations of Fredholm type. Thus, the consideration of single and double layer potentials together with certain reflection operators originate pseudo-differential operators which allow the proof of existence and uniqueness results for the boundary value problems initially posed. Furthermore, explicit solutions are given for all the problems under consideration, and regularity results are obtained for these solutions.