
A service provides a solution for predefined tasks and is implemented in a system. The service is provided by a provider and is implemented in a provider system. The service is in turn consumed by a consumer in a consumer system. Apart from the technical implementation, there are also many questions and requirements surrounding the development of services. Here are some examples to illustrate this:
The answers to questions such as these determine which methods you use to implement a service and make it accessible to consumers.
The following section introduces a few methods and technologies to differentiate the development of services in the Enterprise Services Repository from other scenarios.
It is possible to call services independently of the interface technology used. To do so, the consumer simply requires a service description. There are two ways that the consumer can get hold of this description:
SAP NetWeaver uses XML technology for the service descriptions. Since in the outside-in approach you create non-language-specific service descriptions and not classic development objects, this phase is known as the design phase.
Which development approach you decide to use largely depends on whether the service already exists or not. The next section looks in more detail at a further dimension of service development, namely how the call is realized on a technical.
SAP NetWeaver offers two development variants for cross-system service calls:
In both variants you have the option of developing the services according to either the outside-in or inside-out approach.
Development Approaches
| Variant | Approach | Basic Procedure | |
|---|---|---|---|
|
Point-to-Point |
Inside-Out |
You create a WSDL document for an existing function in the application system (that you can then publish on a UDDI server, for example). The caller generates a consumer proxy from the WSDL document; the application on the consumer side then uses this proxy to call the service at the provider. |
|
|
Outside-In |
Development begins in the Enterprise Services Repository with the design of service interfaces which can be called directly as a WSDL document. Based on the service interfaces, developers generate proxies for both the provider and the consumer. However, the WSDL document does not contain any information about how the provider of the service can be addressed. Which method is used to complete this information depends on the development variant (point-to-point or using the Integration Server). |
||
|
Integration Server |
|||
|
Inside-Out |
You import an XML description for an existing function to the Enterprise Services Repository. The XML description can be used by any number of callers for communication using the Integration Server. |
The documentation on the Enterprise Services Repository concentrates on details about the relevant objects editors in the Enterprise Services Builder. Any special details about the relevant development variant are only mentioned briefly.