Show TOC

Procedure documentationImporting and Assigning Service Interface Definitions Locate this document in the navigation structure

 

In this step you import and assign service interface definitions to the model automated activities and events to make your model work.

Procedure

Importing Service Interface Definitions
  1. In Project Explorer view, expand your glx project and then expand Process Modeling and Service Interfaces.

  2. In the context menu of WSDL Files folder, choose Import WSDL....

    A dialog box appears with a predefined output folder.

  3. You can import service interface definitions (WSDL files) in the following ways:

    • Import service interface definitions from the Enterprise Service Repository:

      1. Select the Enterprise Service Repository radio button from the Available WSDL sources and choose the Next pushbutton.

      2. In the dialog that appears, log on to the ES Repository and choose the Next pushbutton.

      3. Choose a service interface to import and choose the Finish pushbutton.

    • Import the service interface definitions from a file system:

      1. Select the Remote Location / File System radio button and choose the Next pushbutton.

      2. Enter the URL of the WSDL file or choose the Browse pushbutton and select the WSDL file from the file system.

      3. Choose theFinish pushbutton.

    • Import service interface definitions from the Services Registry (SR)

      1. Select the Services Registry radio button and choose the Next pushbutton.

      2. Log on to the SR, if prompted.

      3. Specify the search criteria for finding the Web service whose WSDL file you want to import and choose the Next pushbutton.

      4. Select a service interface definition from the list.

      5. Log on to the system which provides the Web service, and then choose the OK pushbutton.

    The service interface appears in the Service Interfaces folder and the WSDL file appears in the WSDL Files folder. The source WSDL file is stored in the output folder \src\wsdl.

Assigning Service Interface Definitions
  1. In the Project Explorer view, expand your glx project and then expand Process Modeling and Processes.

  2. In the context menu of glx_test_wf process, choose Open.

  3. Select the Availability check automated activity.

  4. In the Properties view, open the Interface tab page.

  5. In the Service Interface field, select a service from the dropdown menu.

  6. In the Operation field, select an operation from the dropdown menu.

    The reference of the service interface to a Service Group is automatically filled in the Service Reference field.

  7. Assign a service to the Book order request start event and to the Delivery receipt end event. To do so, repeat the above steps.

    Note Note

    To be able to start and finish the process you do not need a special service. Assign DefaultService as service and select the Empty entry for operation for the start and end events.

    End of the note.

Result

You have imported and assigned service interface definitions to an automated activity and to the start and end events in your model.