This is the second task of the use case. It is a use case to demonstrate the use of the command-line interface in the following scenario: you want to deploy a governance control to sign the request sent from the WSS Consumer. You also want the governance control to set a timestamp on the request.
Procedure
Navigate to <TIBCO_HOME>/ogp/1.2/samples/WSSConsumer-WSSProvider
and open the data file corresponding to WSS Consumer Reference.
This step helps you create the WSS Consumer governance control. Under the element,
<rule:StandaloneRule>, enter the appropriate values for the
<name> and
<description>, and
<template> parameters.
<description>Rule created via CLI</description>
<name>WSConsumerSignVerifySignatureOnResponseCLI</name>
<template localPart="WssConsumer" namespace="http://xsd.tns.tibco.com/governance/rule/template/2010"/> <templateVersion>1.0.0</templateVersion>
Under the parameter group WSS Processor, provide the name of the resource instance:
This step helps you distribute the governance control to selected object groups. Specify the object groups that get affected by the governance control.