  Let (G,H) be one of the equal rank reductive dual pairs (Mp_{2n},O_{2n+1}) or
(U_n,U_n) over a non-archimedean local field of characteristic zero. It is
well-known that the theta correspondence establishes a bijection between
certain subsets, say R(G) and R(H), of the tempered duals of G and H. We prove
that this bijection arises from an equivalence between the categories of
representations of two C*-algebras whose spectra are R(G) and R(H). This
equivalence is implemented by the induction functor associated to a Morita
equivalence bimodule (in the sense of Rieffel) which we construct using the
oscillator representation. As an immediate corollary, we deduce that the
bijection is functorial and continuous with respect to weak inclusion. We
derive further consequences regarding the transfer of characters and
preservation of formal degrees.
