Show TOC

Creating Classified Service GroupsLocate this document in the navigation structure

Prerequisites

  • One of the following DCs is created in 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.

  • A Service Group Configuration DC is created in the SAP NetWeaver Development Infrastructure.

    More information:

    Creating Development Components

    Development Component Types

  • An Enterprise Application DC is created in 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 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 .

  • 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 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.

  • Import the WSDL document of the Web service you want to consume in the Web Module DC.

    More information: Importing WSDL Documents in the SAP NetWeaver Developer Studio

Context

You can create Service Groups and classify them using the deployment units and process components that are listed in the Service Registry (SR). When you use the Web service tools in SAP NetWeaver Developer Studio, you create classified Service Groups in Service Group Configuration, Web Module, or EJB Module development components (DCs).

Procedure

  1. Open the Java EE perspective; choose Start of the navigation path Window Next navigation step Open Perspective Next navigation step Other Next navigation step Java EE Next navigation step OK End of the navigation path
  2. Right click the imported WSDL document and then choose Start of the navigation path Web Services Next navigation step Create Configuration Data with Services Registry End of the navigation path
  3. Choose Create new .
  4. In the Package field, enter the package in which you want to create the Service Group files.
  5. Enter Service Group name and description.
  6. In the Create in project field, choose the DC in which you want to create the Service Group.
  7. Choose Next . If the tool prompts you, enter credentials to connect to the SR.
  8. Choose a deployment unit or a process component to classify the Service Group.
  9. Choose Finish .

Results

The tools create the classified Service Group and the corresponding service references in the respective DCs.

Next Steps

As a next step, you can proceed with the following tasks:

  1. Create a Web service proxy

    More information: Creating Web Service Proxies

  2. Create a Web service client application.

    More information: Creating Web Service Client Applications

  3. Deploy the Web service client on the application server (for deployable proxies only).

    More information: Building, Publishing and Removing Published Java EE Applications

  4. Configure the Web service client in SAP NetWeaver Administrator.

    More information: Configuring Web Services and Web Service Clients in the SAP NetWeaver Administrator

Note

When you deploy the application on the consumer system and there is an established connection from the consumer system to the Services Registry, SOA configuration for connectivity checks the provider systems listed in the SR. If there is a system providing the Web services that you want to consume and a connection to this system is established, SOA configuration for connectivity automatically creates assignment to this system and creates configuration entities (logical ports).

Note that SOA configuration for connectivity checks only the names of the provider system and the consumed services. The connectivity settings in the communication profiles and the policies in the service endpoints are not taken into account at this stage. Even if the names of the provider system and the consumed services match, the automatic assignment may still fail if the policies in the profiles and service endpoints do not match.

In addition, the following entities may not be configured properly if the policies in the profiles and service endpoints do not match, even though the system displays them as successfully configured.

  • Callable objects that are created with Guided Procedures framework.

  • Automated activities and events that are created with Business Process Modeling framework.

  • Adaptive Web service models that are created with Web Dynpro framework.

  • Web service operations that are created with Visual Composer framework.