Electrical resistivity, optical properties and morphology of thin solid films of an oligomer of the polyaniline, were investigated. The oxidative doping process of these thin films was studied by means of resonance Raman scattering. The conductivity was also monitored. Combination of these different techniques leads to the characterisation of the electronic transport that is induced by doping, and finally, a mechanism of the modification of the electronic structure of the oligomer is proposed.