Show TOC

Creating Predefined Service GroupsLocate this document in the navigation structure

Prerequisites

  • One of the following DCs is created in the SAP NetWeaver Development Infrastructure:

    • WEB Module DC

      The WEB Module DC in the project is version 2.5.

    • EJB Module DC

      The EJB Module DC in the project is version 3.

    • Service Group Configuration DC

    More information

    Creating Development Components

    Development Component Types

  • An Enterprise Application DC is created in the SAP NetWeaver Development Infrastructure.

  • The dependencies between the following components are set:

  • The AS Java settings are configured in Start of the navigation path Window Next navigation step Preferences Next navigation step SAP AS Java End of the navigation path

  • The application server and Web service runtime are set in the SAP NetWeaver Developer Studio from Start of the navigation path Window Next navigation step Preferences Next navigation step Web Services Next navigation step Server and Runtime End of the navigation path. In the Server field, choose SAP Server , and in the Web service runtime , choose SAP NetWeaver .

  • To create a classified Service Group, the following prerequisites apply:

    • The SAP NetWeaver Developer Studio is configured to connect to the SR in Start of the navigation path Window Next navigation step Preferences Next navigation step Web Services Next navigation step Service Registry End of the navigation path.

      More information: Connecting the SAP NetWeaver Developer Studio to the Services Registry

    • If you are using a proxy to access the Internet, the proxy settings of the SAP NetWeaver Developer Studio are configured in Start of the navigation path Window Next navigation step Preferences Next navigation step General Next navigation step Network Connections End of the navigation path.

Context

If you want to create a predesigned development component (DC) in which you define the exact usage of Service Groups, you can create a set of Service Groups in it without the corresponding service references. At a later stage, when you import a WSDL document the framework identifies the predefined Service Groups and allows you to create the service references to point to these Service Groups.

You create predefined Service Groups in WEB Module DCs, EJB Module DCs, or Service Group Configuration DCs.

Procedure

  1. In the Project Explorer of the Java EE perspective, open the created DC.
  2. Right click the Connectivity node in the project, and then from the context menu choose New Service Group .

    The Create Service Group wizard opens.

  3. In the Project field, enter the DC in which you want to create the Service Group.
  4. In the Package field, enter the package in which you want to create the Service Group files.
  5. Enter the Service Group name and description.
  6. Depending on the type of the Service Group which you want to create, proceed as follows:
    • Classified

      Choose this option to create a Service Group, based on the Services Registry classification system.

      1. From the Type field, choose Classified .

      2. Choose Next .

        The classification system of the Services Registry is displayed.

      3. Choose a Service Group classification from the list.

        More information about the Services Registry classification system: Structuring of Services in the Registry

    • Non-classified

      Choose this option to create a non-classified Service Group.

  7. Choose Finish .
  8. To build the DC, right click the DC project and from the context menu, choose Start of the navigation path Development Component Next navigation step Build End of the navigation path

Results

  • The framework creates the Service Group in the Connectivity node and the Java package folder of the selected DC.

  • Depending on the Service Group type, the framework creates the Service Group as follows:

    • Classified Service Group

      The framework creates a classified Service Group in which at a later stage you can create service references to Web services that have the same classification.

      Note

      When you classify Service Groups, you can use only classifications of enterprise services and not Java EE Web services classifications. You use values only from BrowseByApplication classification system. These values are Deployment Units and Process Components and are used for enterprise services.

    • Non-classified Service Group

      The framework creates a non-classified Service Group with property Origin . To configure the Service Group to host service references to a particular provider system, in the Origin field, enter the host name of the provider system.

      More information: Editing Service Groups and Service References