Service Mapping
You can pass data values between entity and external services within a CAF application.
The CAF application uses an entity service operation to send an input message. The input message attributes are mapped to the external service operation input attributes (input mapping).The external service processes the input attributes and generates output attributes. The output message attributes are mapped to the entity service operation output attributes (output mapping).
The entity service operation sends the output attributes back to the CAF application. This process is described in the figure below.

To create mappings, you need to follow special rules. For more information, see Rules for Service Mapping.
...
1. Encapsulate an external service as an entity service.
See: Encapsulating External Services as Entity Services
2. Map service operations.
See: Mapping Service Operations
3. Map attributes that belong to the mapped operations.
See: Mapping Service Attributes

Mapping Operations and Attributes at Runtime