Daniel,
In fact I might have misled you my original intention…
What I truly wanted is to find a way to pass the classification value to Mediator in runtime when a web service is called. The classification contains the types of web service operations (e.g. get or set). In the pre-request processing step, I want to execute a flow service based on the classification value. If the operation is “get”, I want Mediator routes the request to the native service. IF the operation is “set”, I want a flow service writes the operation details to cache before routing it to the native service.
There are some pre-conditions:
-
I have no control of how providers specify their service and operation names. The assumption is that I cannot dissect/infer the operation type based on names.
-
I want to isolate the Mediator from CentraSite. I don’t want Mediator to reach CentraSite in runtime to obtain this classification value.
Regards,
Terry
#API-Management#webMethods#CentraSite