
A service definition exists in the ABAP system. The service definition is a wrapper object keeping a link to the Web service implementing class or function module and the design time configuration. The design time configuration is a collection of requirements for a Web service that are already known at design time. It specifies basic attributes, for example, the operation type (synchronous / asynchronous) and minimum requirements for accessing the Web service.
To configure a service provider, you need to create and configure a binding. The binding contains a runtime configuration, which is needed to implement the service. A runtime configuration is generated using the service definition.
A service definition consists of development objects. These development objects are either shipped by SAP or are custom-created objects shipped as part of an application. Service definitions are automatically created during proxy generation.
You can create more than one binding for the same service. In this way, you can provide the same service with several different runtime configurations, implementing alternative ways for accessing the Web service. The binding information is used to support the configuration of Web service consumers in the form of a WSDL document. Each configured ABAP Web service provider configuration (that is, each binding) can be described in a WSDL document. A WSDL document describes a Web service in an XML document format. It is mostly used to pass the binding's information to a Web service consumer to support the setup of the consumer configuration, which is called a logical port.
If you do not create a binding, it will not be possible to call the service.
When to Configure a Single Service Provider
You will normally configure a single service provider in the following situations:
Communication between two applications takes place in one direction.
The consumer proxies need to be configured for only one of the two applications. For the unconfigured application, only the services need to be configured.
The consumer side is connected to exactly one provider system or to a mediator (hub).
The consumer system offers receiver determination not using service groups, but instead through application-specific configuration in which logical port names are stored and accessed directly at runtime.
There is only a small number of consumer proxies or services.
You have configured a Web Service provider. This provider can now be called by a consumer. A WSDL document is now available for this Web service provider. You can display the URL of the WSDL document by choosing the
icon in the
Service Actions column on the
Configurations tab. A WSDL is also available for the binding. To open it, choose the
.
On the Configurations tab, the following actions are available for the services and bindings:
Activate / Deactivate service and its bindings
Display, create, edit, delete binding
Delete service and its bindings
Open service WSDL generation
Republish binding to Services Registry
Each binding is automatically published to the local Services Registry. You can manually republish the binding here.
Open binding WSDL generation