Diffraction of a solitary wave by a thin wedge