In the Policy History table, select the policy want to remove, and click Delete. A dialog box appears with a message asking you to confirm the deletion. Click From the Web Services Policies page, click Export to File.

7-22 Oracle Fusion Middleware Security and Administrators Guide for Web Services Figure 7–12 Generate Client Policies on the Web Services Policies Page 4. In the Generated Client Policies page, enter the URL to the Web service WSDL using the following format: Web_service_endpoint?orawsdl, and click the control to access the Web service and ports, as shown in Figure 7–13 . The Web_service_endpoint is the URL to the Web service. The service policy information in the Oracle WSDL published for the Web service is used as the basis for generating the initial client policies. Figure 7–13 Getting the Web Service and Ports 5. In the Generated Client Policies page Figure 7–14 , click Generate to generate the client policies, as shown in Figure 7–14 . Figure 7–14 Generated Client Policies Page Note: You must use ?orawsdl, instead of ?wsdl, to get the WSDL that is used to generate the corresponding client policy. Prepend ora to wsdl to accomplish this. Managing Web Service Policies 7-23

6. Select a generated policy from the table and click Edit.

7. In the Edit Policy page, edit the policy as necessary.

8. Click Validate to validate your changes.

9. Click Save to save the changes to your policy.

10. You are returned to the Generated Client Policies page. Edit the other policies as needed. Once the policy is saved, you can navigate to the Web Services Management page and find the policy in the Policies table. Enabling or Disabling a Policy for a Single Policy Subject When a policy is attached to a Web service, it is enabled by default. You may temporarily disable a policy for a single endpoint without disassociating it from the Web service. When the policy is disabled for an endpoint, it is not enforced for that endpoint. Using Fusion Middleware Control Policies must be individually enabled or disabled for the endpoint; you cannot enable or disable multiple policies at the same time. To enable or disable a policy attachment:

1. From the Web Service Endpoint page, click the OWSM Policies tab.

2. Select the policy you want to enable or disable.

For Oracle Infrastructure Web services, select a policy from the Directly Attached Policies table.

3. Select Enable or Disable to enable or disable the policy, respectively, and confirm

your selection. See Figure 7–15 . Figure 7–15 Enabling or Disabling a Policy Attachment