Show TOC

Procedure documentationEnabling the Service Group in Visual Composer Locate this document in the navigation structure

 

Service Group configuration is a concept that supports lifecycle management connectivity for SAP applications. Using Service Group configuration, applications created in different frameworks, such as Web Dynpro, Visual Composer or the portal, can be configured in a single location.

Note Note

Service Group currently supports the consumption of Web services only.

End of the note.

Web services can be consumed from the following sources:

  • Web Service Description Language (WSDL): A direct Uniform Resource Locator (URL) to connect to a specific Web service.

  • Web Services Inspection Language (WSIL): Provides an XML format for assisting in the inspection of a site for available services and a set of rules for how inspection-related information should be made available for consumption. It is the aggregation of Web services defined in a special XML file with a WSIL template.

  • Services Registry: The SAP solution for the aggregation of Web services with a capability to categorize them according to classifications and enable the user to search, browse, and consume the services. It consists of all the services that the developers need to develop applications stored in the Services Registry. Before you can start using the Services Registry, you must first configure the Universal Description, Discovery, and Integration (UDDI) server and set destinations to the UDDI server and the classification service.

Prerequisites

  • You have installed SAP NetWeaver Developer Studio 7.1.

  • You have created a Web service destination.

    For more information, see Creating Web Service Destinations.

  • You have configured the Application Server (AS) Java settings in   Window   Preferences   SAP AS Java  .

Procedure

Create a Service Group Development Component
  1. In the Development Infrastructure perspective, Component Browser, open the Local Development Component.

  2. Select the editable Software Component.

  3. Right-click and choose   New   Development Component   Service Group Configuration  .

  4. Follow the instructions in the Create New DC wizard to create a new development component.

Create a Service Group Object in the Service Group Development Component

To create a Service Group object in the Service Group development component, refer to the procedure under Creating Predefined Service Groups.

Note Note

In the Create New Service Group wizard, select one of the following options in the Type field:

  • For WSDL/WSIL: Non-classified

  • For Services Registry: Classified

End of the note.
Create the Service Group in Visual Composer
  1. Create a Visual Composer development component and model.

    In your model, use the required Web services. When the model is complete, in the Deploy task panel, click the Validate button, which creates an xgl file from your model.

    Build the necessary Visual Composer development components.

    For more information, see Creating a Model and Development Component.

  2. Add a dependency from the Visual Composer <development component>_Impl development component to the Service Group development component.

    Make sure that all the following check box options are selected: Build time, Deploy time, Runtime.

    For more information, see the adding dependencies section in Defining Development Component Dependencies.

  3. Build the Visual Composer development components again.

  4. In the Visual Composer perspective, select   Tools   Manage Services   Service References  .

    The Manage Services dialog box displays all the WSDLs of the service reference links from the current Visual Composer model.

  5. Select the service reference that you want to consume in your application. As a result, the following fields are populated:

    • Service reference

    • Operation

    • In model

  6. Select the URL of the Web service to consume.

  7. Click the Assign button.

    The Service Group dialog box opens, listing all the available service groups in the dependent service group development component.

  8. Select a service group from the list.

  9. Choose Finish.

  10. In the Manage Services dialog box, choose OK.

Build and Deploy the Development Components
  1. In the Component Browser, select the required Service Group development component, and in the component's context menu, choose Build.

  2. In the Visual Composer perspective, choose Compile.

  3. Deploy the Visual Composer model.

    For more information, see Compiling and Deploying Models.

Configuring Service Group in SAP NetWeaver Administrator
  1. Prepare communication profiles

    For more information, see Preparing Communication Profiles.

  2. Create connections to provider systems

    For more information, see Creating Connections to Provider Systems.

  3. Configure groups of Web service clients in composite applications

    For more information, see Configuring Web Services Exposed by Applications.

  4. Configure groups of Web service clients in configuration scenarios

    For more information, see Grouping and Configuring Web Services in Business Scenarios.

  5. Publish services/consumer groups

    For more information, see Publishing to the Services Registry.