Click the Policies tab. Click AttachDetach.

Attaching Policies to Web Services 8-13 services and callback clients, see Developing Asynchronous Web Services in Oracle Fusion Middleware Concepts Guide for Oracle Infrastructure Web Services. To attach policies to an asynchronous Callback client: 1. Navigate to the endpoint for the asynchronous Web service, as described in Viewing the Details for a Web Service Endpoint on page 6-7.

2. Click Callback Client in the upper right portion of the endpoint page.

3. Click the Policy tab.

4. Click AttachDetach.

5. On the Available Policies portion of the page, select one or more policies that you

want to attach. Click Validate to validate the policy, or Check Services Compatibility to make sure that the client policies are compatible with the service policies.

6. Click Attach when you are sure that you want to attach the policy or policies.

7. Click OK.

Attaching Policies to Web Service Clients Using WLST The following procedure describes how to attach policies to SOA references, connection-based Web service clients such as an ADF DC Web service client, ADF JAX-WS Indirection Proxy, or WebCenter client, and asynchronous Web service callback clients. The steps that you follow are the same for each type of client. However, the argument settings will vary depending on the type of client to which you are attaching or detaching policies. 1. View the Web service clients as described in Using WLST in Viewing Web Service Clients on page 6-9. 2. Use the listWebServiceClientPorts command to display the port name and endpoint URL for a Web service client. listWebServiceClientPortsapplication,moduleOrCompName,moduleType,serviceRefNam e For example, to display the port for the service reference client: wls:wls-domainserverConfig listWebServiceClientPorts’base_ domainAdminServerapplication1V2.0’, ’test1’,’wsconn’,’client’ HelloWorld_pt 3. View the list of available policies as described in Displaying a List of the Available Policies Using WLST on page 7-2. To view only available client policies, set the subject argument to client. For example: listAvailableWebServicePolicies,client 4. To attach policies, do one of the following: ■ Use the attachWebServiceClientPolicy command to attach a single policy to a Web service client port. attachWebServiceClientPolicyapplication, moduleOrCompName, moduleType, serviceRefName, portInfoName, policyURI, [subjectType=None]