IBM Support

XMI export of Components and import to a new project results in classes.

Troubleshooting


Problem

When exporting a Rhapsody Component to XMI and then importing the XMI file into a new Rhapsody project, the Component gets imported as a Class and not as a Component.
The option to "Export Rhapsody Profiles" was not selected.

Resolving The Problem

You need to have the option "Export Rhapsody Profiles" selected.

When the option “Export Rhapsody Profiles” is not selected, the produced xmi file does not contain required data that is relative to Rhapsody itself.  Rhapsody can model some concepts that are not UML. For handling this situation, a profile dedicated to Rhapsody is provided by default inside the model. And all elements that require to express something that cannot be defined in UML are applying stereotypes from this Profile.

This data can be used for two purposes: getting specific data from Rhapsody that cannot be expressed natively in UML, and keeping this data when roundtripping Rhapsody->UML->Rhapsody.

A Rhapsody Component cannot be expressed directly in UML (there is the concept of Component, but it does not matching the one from Rhapsody). So a Rhapsody Component is exported as a Class, and a stereotype is applied on it for specifying its real nature.

By not selecting “Export Rhapsody Profiles”, you forbid the usage of this profile.

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
19 July 2023

UID

ibm10875994