Exporting a Class to XML Schema File

You can export a specific class to an XML Schema file without exporting the entire business object model of which it is a part.

Any objects on which that class has a dependency - for example, any attributes or operations it contains - will be exported with it. This dependency is worked out recursively, so that any dependencies of the dependencies, and so on, are also exported.

Procedure

  1. Right-click on the representation of the class in the business object model diagram editor, and select Export > XML Schema.
  2. The XML Schema dialog is displayed. Check the selection and change it if necessary. Select a destination for the XSD file (either in the /Exports/XML Schema directory in the project, or in a different path). The Exports folder is created if it does not yet exist and shown in the Project Explorer.

    If you check the Preserve Schemas checkbox, the export process will try to preserve the structure of the schema by creating a separate XSD file for each package that is included in the export. If you do not check that box, the export process flattens out all packages into one XSD file.

  3. Click Finish. The XSD files are generated in the specified location.