On the interaction of solitons for a class of integrable systems in the spacetime Rn+1