Show TOC

Procedure documentationDiscovering Services in the Services Registry Locate this document in the navigation structure

 

The Services Registry is a listing of Web services. Located centrally within a SOA landscape, the Services Registry contains information about services provided in that landscape, with references to the services’ relevant WSDL metadata and to the locations of the callable service endpoints. The registered services are classified using semantic-rich classification systems to enable browsing of services by classification. More information: Services Registry

Visual Composer provides a wizard for searching the Services Registry to discover services and use their operations as sources of data in your models. More information: Services Registry Wizard

Prerequisites

  • The model in which you want to use the enterprise service operation is open in Storyboard.

  • The Services Registry is configured in your system (by configuring the consumer proxy). More information: Configuring a Central Services Registry.

Note Note

To be able to execute a service at runtime, the physical system that contains the service must be defined in SAP NetWeaver Administrator. More information: Creating Web Service Physical Destinations.

End of the note.

Procedure

  1. Click the Search button in the task-panel toolbar.

  2. From the Search in dropdown list, choose Services Registry and click the Search... button. The Services Registry Wizard is displayed.

  3. If you are working in Visual Composer in NetWeaver Developer Studio, in the Log On screen, enter the User name and Password required to access the Services Registry and click Next.

  4. In the Find Service screen, search for a service in one of the following ways (or a combination of them):

    • In the Find field, enter the name of the service you want to find. You can use an asterisk (*) in the string as a wildcard to search for a partial match.

      Note Note

      Visual Composer automatically searches within the WSDL portType Name, and limits the search to services with state Configured (since this is the only service state that is supported for use in Visual Composer).

      End of the note.
    • From the System dropdown list, choose the specific physical system in which you want to search, or leave the default selection All to search in all systems.

    • Click the Use classifications filter link to display the classifications tree. Expand the nodes and select the checkboxes next to the classification categories in which you want to search.

      Note Note

      You can click the Remove classifications filter link to close the filter and discard any selections that you made.

      End of the note.
  5. Click Next. The Select Definition screen is displayed, containing a list of all service definitions that match the specified search criteria.

    You can view details for each definition in the tabs in the lower part of the screen.

  6. Select the service definition that you want to use and click Next. The Select Endpoint screen is displayed, containing a list of all the endpoints (with state Configured) defined for the selected service definition.

  7. Select the endpoint that contains the operation(s) that you want to use. The operations are displayed in the lower part of the screen.

    Note Note

    If the current user is not authenticated by the physical system that contains the endpoint operations, you are prompted to enter the User name and Password for the system to view the endpoint operations.

    End of the note.
  8. Click Finish. The operations for the selected endpoint are added to the Results list of the Search task panel.

  9. From the Results list, drag the operation that you require onto the Design board.

    If the operation contains a large number of ports, the Define Ports dialog box is displayed, listing the ports and fields of the data service. Use this dialog box to choose the data service ports and fields as required, and then click OK.

  10. To discover and use additional operations from the Services Registry, repeat this procedure for each operation.

Result

The selected operations are added to the Design board and you are ready to model the component logic and flow, by defining the view elements and their connections. For more information, see Composing the Composite View.