Theoretical study of spatial solitons in planar waveguides