A numerical analysis of wave scattering by a body of revolution composed of a homogeneous dielectric sphere and an external inhomogeneous dielectric layer with arbitrary generatrix is carried out. A modification of the hybrid projection method developed in the paper includes expansion of the fields in terms of transverse vector spherical functions, projection of the Maxwell’s equations in the inhomogeneous region on the indicated functions, and use of the one-dimensional method of finite elements in projection form over the radial coordinate. Two more modifications correspond to the case of a perfectly conducting internal sphere and for the case of the absence of the internal sphere. The indicated modifications are realized in MATLAB codes for the case of excitation of the body by a circularly polarized plane wave propagating along the axis of revolution. Numerical results presented and discussed in the paper include the cases of wave scattering by a homogeneous sphere displaced from the origin of coordinates, a perfectly conducting sphere placed inside an inhomogeneous spheroidal layer, and a half-spherical Maxwell’s fish-eye lens.