Soliton surfaces via a zero-curvature representation of differential equations