Runtime Configuration
Before messages can be exchanged at runtime, you must define whether you want to use the Web service runtime or the XI runtime.
The ABAP proxy runtime supports the following approaches:
● XI customers can use the XI runtime to define the receiver or receivers of a message centrally in the Integration Directory. You can then use the integration logic of the Integration Server (routing, mapping, and Business Process Management). See also: Configuration).
●
SAP Web AS
customers and XI customers can use the Web services runtime to call Web
services over the Internet for simple services. You must then configure the
receiver locally in the client system. Furthermore, server proxies must
be encapsulated as Web services (see also:
Creating an ABAP Web
Service).
If you require a special protocol, which the other runtime does not provide, it is also possible to support both runtimes in your application program.
●
You must create a
logical port for client proxies that use the Web Service Runtime (see:
Creating a
Logical Port). You create this port in the system in which you want to
call the client proxy. Call transaction LPCONFIG and activate the Web services
infrastructure on the Runtime tab page. Using the logical port, you can
define the receiver data and the settings for error handling. It is also
possible to create multiple logical ports for a client proxy and then select
one of them dynamically.
● Client proxies that use the XI runtime do not require a logical port. However, you may still want to create a logical port because, for example, a customer wants to be able to switch between the XI runtime and the Web services runtime as required. To set the XI runtime for a port, choose Exchange Infrastructure on the Runtime tab page.
You can specify a logical port by using the constructor of a client proxy. The ABAP proxy runtime determines which runtime must be active as follows:
● If no port is specified and there is no default port, the system assumes that the message is to be sent by using XI.
● If a port is specified, but it is not available, the system raises an exception. In all other cases, the port settings described above determine the runtime that the system will use to send the message.