The paper presents a theoretical formulation for studying scattering of Rayleigh waves due to the presence of rigid barriers in oceanic waters. The Wiener-Hopf technique has been employed to solve the problem. Exact solution has been obtained in terms of Fourier integrals whose evaluation gives the reflected, transmitted and scattered waves. The scattered waves have the behaviour of cylindrical waves originating at the edge of the barrier. Numerical results for the amplitude of the scattered waves have been obtained for small depth of the barrier.