Show TOC

Procedure documentationWorking with Service Groups Locate this document in the navigation structure

 

When you use automated activities in your process, you have to assign service interfaces to the automated activities. You can include the service interfaces you use in a Service Group. You use a Service Group to configure all services included in the group when you deploy your process. Then you use the SAP NetWeaver Administrator tool to configure the Service Group. For more information about configuring Service Groups in the SAP NetWeaver Administrator, see Configuring Groups of Web Service Clients.

You have the following ways to create a Service Group:

  • Create a Service Group automatically.

    When you import a WSDL file from the Enterprise Service Repository or from the Services Registry, a Service Group containing the service interface definition can be created automatically. For more information about importing WSDL files, see Importing Service Interface Definitions.

  • Create a Service Group from scratch.

    You can create an empty service group from scratch. You choose between Classified and Non-Classified Service Group types. You create a Classified Service Group when the service interface definitions included in the Service Group are imported from the Services Registry. You create a Non-Classified Service Group when the service interface definitions included in the Service Group are created from scratch. For more information about creating service interface definitions, see Creating Service Interface Definitions.

After creating the Service Group, you include service interface definitions in the Service Group, that is to say you create service references. A service interface definition can be referenced by different Service Groups. You specify by which Service Group a service interface definition is referenced when assigning the service interface to an automated activity in the process.

You can edit a Service Group at any time and change the service interfaces in the Service Group.

Prerequisites

  • You have opened the Process Composer perspective in the SAP NetWeaver Developer Studio and have expanded your project in Project Explorer view.

  • You have created an automated activity in your process and have assigned a service interface and operation to the automated activity. For more information, see Modeling Automated Activities.

Procedure

Creating a Service Group from Scratch
  1. In the context menu of Connectivity in your project, choose New Service Group.

    A dialog box appears.

  2. Select a project in which to create the service group from the Project dropdown menu.

  3. Specify a name for the service group in the Name field and optionally a description in the Description field.

  4. Select a Service Group type from the Type dropdown menu.

    Note Note

    If you choose Classified type and then the Next pushbutton, you are prompted to log in to the Services Registry. Enter your credentials and complete the dialog.

    End of the note.
  5. Choose the Finish pushbutton.

    Your Service Group is created.

Note Note

Alternatively, you can create a Service Group from scratch when you assign a service interface definition to an automated activity in your process. To create the Service Group, choose Interface in the Properties view of an automated activity, select the Use service group radio button and then select New... from the Service Group dropdown menu.

End of the note.
Creating Service References
  1. In the modeling surface, select an automated activity.

  2. Choose Interface in the Properties view.

  3. Select the Use service group radio button.

  4. Select New... from the Service Group dropdown menu.

    Note Note

    You may see other Service Groups in the Service Group dropdown menu. These are the Service Groups by which the service interface that is assigned to the automated activity that is already referenced.

    End of the note.
  5. In the dialog that appears, choose one of the following options for creating a service reference:

    • Choose existing:

      You choose this option if you want to create a service reference in an existing Service Group.

      1. Select a Service Group from the dropdown menu.

      2. Choose the Finish pushbutton.

    • Create new

      You choose this option if you want to first create a Service Group from scratch and create a service reference after that.

      1. Specify the necessary information for creating the Service Group from scratch.

      2. Choose the Finish pushbutton.

    You have created a service reference.

(Optional) Checking Service References

You can check which service interfaces are referenced by a Service Group.

  1. In your project, expand Connectivity.

  2. In the context menu of Service References, choose Open.

    A list of service references opens.

  3. Expand a Service Group to see all service interfaces referenced by the group.

(Optional) Editing Service References
  1. In your project, expand Connectivity.

  2. In the context menu of Service References, choose Open.

    A list of service references opens.

  3. Expand a Service Group and select a service interface that is referenced by the Service Group.

  4. Choose Reference Details in the Properties view of the service interface.

  5. Choose the Browse... pushbutton in the Service Group field and select another Service Group from the list.