Superconductivity on the density wave background with soliton-wall structure