A middleware schema for describing message transactions is provided, including
a structured framework of commands and attributes to be employed by technical personnel
in order to develop messages that comply with a target API. The invention applies
the middleware schema to interpret the functionality of a source document, and
generates high level program source code that formats data messages to comply with
a target API.