Evaluate WSDL Operation Assertion

The Evaluate WSDL Operation assertion determines which operation is being invoked based on the information in the service's WSDL and matches it against a pre-selected one. This assertion succeeds if the operation matches the one set in the assertion, otherwise it fails. For example, a user can be granted rights to view a product list but that same user cannot view the product details nor place an order.
gateway90
The
Evaluate WSDL Operation
assertion determines which operation is being invoked based on the information in the service's WSDL and matches it against a pre-selected one. This assertion succeeds if the operation matches the one set in the assertion, otherwise it fails. For example, a user can be granted rights to view a product list but that same user cannot view the product details nor place an order.
Example:
Consider the following sample policy:
"At least one assertion must evaluate to true"
"All assertions must evaluate to true"
"
At least one assertion must evaluate to true
"
Evaluate WSDL Operation 'listProducts'
Evaluate WSDL Operation 'getProductDetails'
Authenticate User: 'Bob'
"All assertions must evaluate to true"
Evaluate WSDL Operation 'listProducts'
Authenticate User: 'Sue'
The results will be as follows:
  • If Bob attempts to either list products or get product details, the assertion will succeed because these are included in his of legal operations.
  • If Sue attempts to get product details, the assertion will fail because her operation only allows 'list products'.
For more information about organizing policies, see Policy Organization.
Using the Assertion
  1. Do one of the following:
    • To add the assertion to the Policy Development window, see Adding an Assertion.
    • To change the configuration of an existing assertion, proceed to step 2 below.
  2. Right-click
    Evaluate WSDL Operation
    in the policy window and select
    WSDL Operation Properties
    or double-click the assertion in the policy window. The assertion properties are displayed.
  3. From the drop-down list, select the WSDL operation to be verified at run time. The Gateway will compare the WSDL's requested operation against this selection to determine whether the assertion passes or fails.
  4. Click [
    OK
    ]
     
    when done.