The biserverxmlexec call is not needed at the end of the day. The validaterpd call is all that's required to generate an RPD file from an MDS XML directory.