Consuming a Web Service Using the Services Registry
This option allows you to consume a Web Service from Services Registry.
Context
You have already created an ABAP project.
Procedure- Access the Enterprise Services wizard. For information on using the wizard, see Accessing the Enterprise Services Wizard.
- Select Service Consumer.
- Click Next.
The New Service Consumer wizard appears.
- Enter the following details:
- Package name
- Name
- Prefix, if required
- Select Services Registry as the source.
- Click Next.
The window for selecting a service definition appears.
- Click > (Show Children) after the Select Service Registry.
The ABAP systems configured with the services registry are listed.
- Choose the ABAP system.
- Click > (Show Children) after the selected ABAP system.
The services registries are listed.
- Choose a services registry.
- In the Search Criteria, enter the name of the Web service.
- Choose the ABAP system containing the Web service from the Publishing System drop-down box.
- Click Search.
The result of the search is displayed in the table.
- Select a service definition from the table.
- Click Next.
- Enter the log on credentials.
- Proceed with the wizard and complete the task.
A service consumer proxy is created and the proxy editor window appears.
- On the top right corner of the proxy editor window, click
( Activate ABAP Object) to activate the proxy.