Usually in a heavy duty trailer application weight is an issue, so the I beam is a more effecient section. That is, for equivalent section modulus, the I beam is lighter.
The attachment of the cross-members isn't usually an issue because they are set down for the decking and are welded to the web of the mainrail I beams.
The analysis of trailer frames is why I became interested in FEA many years ago.
Tom Stanley