Lesson 1: Generating a Business Process service

In this lesson, you will generate a Business Process service from a Sybase WorkSpace Business Process Model (WorkSpace BPM).

Before you begin, you must have completed the previous tutorial “Generating a Sybase WorkSpace Business Process Model” and you should have the MyRestockBPModel model open in the Enterprise Modeling perspective.

  1. Select Language|Generate Sybase WorkSpace Business Process 1.5 Code from the WorkSpace main menu bar.

  2. When the Generation dialog box opens, select the directory where you want to generate the Business Process service. Sybase recommends the following location:

    %WS_INSTALL_DIR%\<user_name>\workspace\MySybStore_Tutorials\Services\BP\

    where <user_name> is your personal WorkSpace directory.

  3. Click OK. The Business Process service is generated.

  4. When the Generated Files dialog box appears displaying the files that were generated for the Business Process service, click Close.

  5. In the WorkSpace Navigator, expand the MySybStore_Tutorials/Services/BP folder and locate the Business Process service file MyRestockBPModel.svc_bpmn.

  6. Double-click MyRestockBPModel.svc_bpmn to open the file in the Business Process Service Editor.

  7. Select the Business Process tab.

    You see the Business Process diagram.

  8. Select File|Save from the WorkSpace main menu bar to save the diagram.

  9. Select File|Close All to close the diagram and the model.

You have finished generating a Business Process service.