A local mapping service can intercept requests sent from a service client to a service provider. The request can be transformed or rerouted to a different service provider, as specified by the attached service map.
A local mapping service can be started and stopped. The default state for a local mapping service when it is created is the started state, even if no service map is attached to that local mapping service. Table 1 shows the different states that a local mapping service can be in, and the behavior of the local mapping service when in that state, depending on whether that local mapping service has a service map attached to it.
Local mapping service status | Attached to a service map? Yes/No | Behavior |
---|---|---|
Started | No | The request is routed to the original target service specified by the service client. |
Stopped | No | The service is not available. An error is returned. |
Started | Yes | The service map is applied. |
Stopped | Yes | The service is not available. An error is returned. |
Unknown | Yes, but the service map has not yet been saved to the master configuration | The request is routed to the original target service specified by the service client. |