We propose a model for scattering in a flat resonator with a thin antenna. The results are applied to rectangular microwave cavities. We compute the resonance spacing distribution and show that it agrees well with experimental data provided the antenna radius is much smaller than wavelengths of the resonance wavefunctions.The aim of the present letter is twofold. First of all, we want to present a method to treat scattering in systems consisting of components of different dimensionality. To illustrate how it works, we are going then to apply it to the case of a flat microwave cavity to which a thin antenna is attached. We compute the resonance spacing distribution in this system and show that it reproduces experimental data -within certain range of energies but without introducing any free parameters.Many recent studies involve an analysis, both theoretical and experimental, of spectral and transport properties of systems with a complicated geometry: let us recall various microwave resonators [1,2,3,4,5] or conductance fluctuations in quantum dots -see [6,7,8,9] and references therein.