Define Rational® Rhapsody® as a data source in Rational Publishing Engine
Tip: Rational Publishing Engine comes with a set of sample reports. Before you begin to
publish documents, you can explore this example document generation
scenario. See
Explore the sample REST template.
- Get familiar with the Rational Rhapsody REST service and the various URLs needed in order to extract
data from Rational Rhapsody using Rational Publishing Engine. See Rational Rhapsody infocenter.
- Connect to a data source schema. See Adding data source schema. The schema can be on the local file system. For example, https://server host:port/Rational/Rhapsody/fields.xsd is a schema file that uses fields argument. You
can use this schema to add specific data pieces from your Rational Rhapsody project.
You can use the elements in the data source
schema to add queries in your template. These queries specify what
pieces of information are ultimately generated in the report. The
default location for the Rhapsody schema is C:\Program Files\IBM\Rational\Rhapsody\7.5.3\RPE\Schemas. When discovering the schema from a model with profiles applied
and new terms, make sure the model with profile and new term are loaded
in Rhapsody. This will give you a schema with new terms.
- Once you have connected to the data source schema, you can create
or import a template design. With the Rational Publishing Engine Document Studio you can build a report template design.
This design determines the layout of the report. Designing documents.
- Plan the structure of your document and define the content to
extract data. See Template development process to get an overview of the template development process. For
very large documents you can create separate templates for each document
block.
- Once you've finished creating the report template and populating
it with Rational Rhapsody data points, you can generate a report in a variety of
formats. When you generate a report, you must connect to the data
source that contains the information on which you want to run the
report. To point to the relevant data see Assigning values in document specification file.
- Before you publish your document, see this topic Set the output format to understand the available output
options that you can choose from.