Chapter 9. Integration into business processes 261
resources (instances of roles). If you create resources, exporting the resource
catalog may be useful, particularly if you assign resources to activities of the
process model. This resource assignment can be visualized later in the UML
activity graph.
Exporting the process model to a BPEL-compliant description is similar to
exporting UML. Use the Export wizard, but now select the WebSphere Business
Integration Server Foundation V5.1 profile. The export wizard creates BPEL files,
WSDL files to describe the process interfaces, and XML Schema (XSD)
descriptions for the business items that are defined.
Importing the UML process model
You can import the UML 1.4 XMI file that you exported from WebSphere
Business Integration Modeler into Rational XDE Developer. Because the
exported XMI file does not contain any diagram information, you must create
diagrams using the imported model elements after importing the model file. To
import the process model:
1. Start Rational XDE Developer and switch to the Modeling perspective. From
the main menu bar, select File
→ New and create a simple project.
2. Select File
→ Import. For the file to import, select the XMI file that you have
exported. For the directory, browse to the simple project you just created.
Click Finish.
3. In the Model Explorer view, find the model that has the new project name. You
may have to open the model by double-clicking on the model file in the
Navigator view. Under the model, you may find Data catalogs, Process
catalogs, Resource catalogs, Organization catalogs, and Business
Integration Modeler Classes packages.
4. To display the class diagram that includes business items of your data
catalog, open the main diagram in the data catalog folder by choosing Data
catalogs
→ Business Items → Main.
5. Drag and drop the classes in that folder onto the diagram to visualize them.
6. To create an activity diagram for a process model, select an activity graph in
the model by choosing Process catalogs
→ Processes → Business Use
Case Stock Trade
→ Top.
7. Right-click, and select Add Diagram
→ Activity. Enter the diagram name.
An empty diagram is created.
8. Select all the elements under the Top activity graph (not including the activity
diagram) and drag and drop them onto the empty diagram. For a simple
process, select Diagram
→ Arrange from the main menu bar. For a complex
process, you may have to rearrange elements manually.