The problem of the semantics-preserving data transformations during their exchange by e-business applications is addressed. A method for automatic generation of schema mappings is proposed, which is based on the XML schema definition and the specification of the schema semantics via the relevant ontology.