Consuming a Web Service Using a Schema
Context
In a distributed system landscape without a shared transport manager you have the option of creating a service consumer proxy from a schema. You need to export an XML description of a service consumer to an ABAP system and use the service consumer wizard to create a proxy.
Exporting a Service Consumer Schema PrerequisiteYou have identified a service consumer for exporting the schema.
Procedure- Access an ABAP package to select a service consumer proxy. For information on accessing an ABAP package, see Accessing an ABAP Package.
- Navigate to the identified service consumer.
- Open the service consumer.
The service consumer is displayed in the proxy editor window.
- Click the Source [Read-Only] page.
The schema or the XML definition of the service consumer is displayed.
- On the top right corner of the editor, click (Export as WSDL).
The Save As window appears.
- Save the file and send it to an ABAP system.
- 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 Local WSDL File as the source.
- Click Next.
The window to select a local WSDL file appears.
- Click Browse to select a WSDL file.
- 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.