Importing a Message Template into PowerDesigner

Import a RAP message that is defined in a message template.

Prerequisites
Ensure that the template file you are importing is valid, and is on a drive you can access from the environment where you run PowerDesigner. Before importing a template that is on a UNIX machine, you must transfer it to the Windows machine where you run PowerDesigner.
Task
  1. In the RAP Messages model, right-click the RAP Messages container and choose Import Message Template.
  2. Enter the path to the file you are importing, or click Select File to browse to the file.

    PowerDesigner checks that the file is a valid XML file, that required RDS template fields such as DestTableName are present, and that the message name is unique.

    If a RAP message with the same name exists, you see an error dialog and must choose a different file.

    If a RAP message with the same message type already exists, the import succeeds, but the message is invalid. A validity check finds messages without a unique message type.

  3. Click OK.

    A new message is added to the model for each message defined in the file.

Related tasks
Validating a Model