Consuming a Web Service Using the Services Registry

This option allows you to consume a Web Service from Services Registry.

Context

Prerequisite

You have already created an ABAP project.

Procedure
  1. Access the Enterprise Services wizard. For information on using the wizard, see Accessing the Enterprise Services Wizard.
  2. Select Service Consumer.
  3. Click Next.

    The New Service Consumer wizard appears.

  4. Enter the following details:
    • Package name
    • Name
    • Prefix, if required
  5. Select Services Registry as the source.
  6. Click Next.

    The window for selecting a service definition appears.

  7. Click > (Show Children) after the Select Service Registry.

    The ABAP systems configured with the services registry are listed.

  8. Choose the ABAP system.
  9. Click > (Show Children) after the selected ABAP system.

    The services registries are listed.

  10. Choose a services registry.
  11. In the Search Criteria, enter the name of the Web service.
  12. Choose the ABAP system containing the Web service from the Publishing System drop-down box.
  13. Click Search.

    The result of the search is displayed in the table.

  14. Select a service definition from the table.
  15. Click Next.
  16. Enter the log on credentials.
  17. Proceed with the wizard and complete the task.

    A service consumer proxy is created and the proxy editor window appears.

  18. On the top right corner of the proxy editor window, click ( Activate ABAP Object) to activate the proxy.