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
Service Group currently supports the consumption of Web services only.
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.
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
.In the Development Infrastructure perspective, Component Browser, open the Local Development Component.
Select the editable Software Component.
Right-click and choose
.Follow the instructions in the Create New DC wizard to create a new development component.
To create a Service Group object in the Service Group development component, refer to the procedure under Creating Predefined Service Groups.
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
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.
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.
Build the Visual Composer development components again.
In the Visual Composer perspective, select
.The Manage Services dialog box displays all the WSDLs of the service reference links from the current Visual Composer model.
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
Select the URL of the Web service to consume.
Click the Assign button.
The Service Group dialog box opens, listing all the available service groups in the dependent service group development component.
Select a service group from the list.
Choose Finish.
In the Manage Services dialog box, choose OK.
In the Component Browser, select the required Service Group development component, and in the component's context menu, choose Build.
In the Visual Composer perspective, choose Compile.
Deploy the Visual Composer model.
For more information, see Compiling and Deploying Models.
Prepare communication profiles
For more information, see Preparing Communication Profiles.
Create connections to provider systems
For more information, see Creating Connections to Provider Systems.
Configure groups of Web service clients in composite applications
For more information, see Configuring Web Services Exposed by Applications.
Configure groups of Web service clients in configuration scenarios
For more information, see Grouping and Configuring Web Services in Business Scenarios.
Publish services/consumer groups
For more information, see Publishing to the Services Registry.