Fetches policy information from the Service Policy Management system and populates SOAP headers with policy information.
The requester, service, and operation for the Web service request are used to retrieve policy information from the Service Policy Management system.
This mediation primitive uses the following policies for runtime configuration:
None
Property | Type | Promoted? | Description |
---|---|---|---|
servicePolicyManagerEndpoint | string | yes | The endpoint used to call the Service Policy
Manager access interface. Default: http://localhost:9080/SPM/Access/services/PolicyAccess |
serviceIdentificationMethod | string | yes | The method used for identifying the unique service
name from a Web service request. Two values/methods are supported:
|
policyCacheInterval | long | yes | Time in milliseconds to cache of policy values
for a given requester, service, and operation. A value of zero disables
caching. Values must be > = 0. Default: Zero by default (caching disabled) |
<twss:twssHeaders> ... <twss:requesterID> <!-- Used for the lookup of the requester's policies. If this header is missing, "unauthenticated" is assumed. --> </twss:requesterID> ... </twss:twssHeaders>
<twss:twssHeaders> ... <serviceID> <!--service identification value, based on service identification method used--> </serviceID> ... <twss:policies> <twss:policy attribute="" value=""/> <twss:policy attribute="" value=""/> ... </twss:policies> ... </twss:twssHeaders>
SMO header (represented by XPath) | Contents |
---|---|
ServiceMessageObject/context/failInfo/failureString | The full message text that represents the fault situation with substituted variables. For example, SOAC4025E: Error occurred. |
ServiceMessageObject/context/failInfo/origin | The name of the mediation primitive class that originated the fault. |
ServiceMessageObject/SOAPFaultInfo/faultcode | The TWSS message code that represents the fault situation. For example, SOAC4025E. |
ServiceMessageObject/SOAPFaultInfo/faultstring | The full message text that represents the fault situation with substituted variables. For example, SOAC4025E: Error occurred. |