pub.soap.utils.setWSDEffectivePolicy
WmPublic. Sets the effective policy for a handler in a web service descriptor.
Input Parameters
wsdName | String The name of the web service descriptor for which you want to set the effective policy. Note: | The setWSDEffectivePolicy service applies only to web services that run in pre-8.2 compatibility mode (i.e., the Pre-8.2 compatibility mode property is set to true). |
|
handlerName | String The name of the handler for which you want to set the effective policy. |
effectivePolicyID | String The unique identifier for the policy that you want to use with the handler in the web service descriptor. |
Output Parameters
None.
Usage Notes
The
pub.soap.utils.setWSDEffectivePolicy service overrides the policy originally assigned to the handler in the web service descriptor.
The
pub.soap.utils.setWSDEffectivePolicy service applies to provider web service descriptors as well as consumer web service descriptors.
The
pub.soap.utils.setWSDEffectivePolicy service throws an exceptions if the provided input is incorrect. The service also verifies that the provided effective policy actually exists.
You can also use Designer to set the effective policy. In Designer, open the web service descriptor, select the handler in the Handlers view, and modify the value of Effective policy name property assigned to the handler.
You can reset the effective policy using the
pub.soap.utils:resetWSDEffectivePolicy service.
See Also