Click the Policy tab.

Attaching Policies to Web Services 8-15 5. To detach policies, do one of the following: ■ Use the detachWebServiceClientPolicy command to detach a single policy from a Web service client port. detachWebServiceClientPolicyapplication, moduleOrCompName, moduleType, serviceRefName, portInfoName, policyURI, [subjectType=None] Set the arguments as described in step 4 above. For example, to detach the client policy oraclewss_username_token_ client_policy from the HelloWorld_pt of the client service, use the following command: wls:wls_domainserverConfig detachWebServiceClientPolicywls_ domainAdminServerapplication12.0, test1,wsconn,client,HelloWorld_pt,oraclewss_username_token_ client_policy ■ Use the detachWebServiceClientPolicies command to detach multiple policies from a Web service client port. Set the arguments as described for detaching a single client policy above, however you specify multiple policies to be detached using the policyURIs argument. detachWebServiceClientPoliciesapplication, moduleOrCompName, moduleType, serviceRefName, portInfoName, policyURIs, [subjectType=None]] For example, to detach the policies oraclewss_username_token_ client_policy and oraclewsrm10_policy from the HelloWorld_pt of the client service, use the following command: wls:wls_domainserverConfig detachWebServiceClientPolicieswls_ domainAdminServerapplication12.0, test1,wsconn,client,HelloWorld_pt, [oraclewss_username_token_client_policy,oraclewsrm10_policy] Please restart application to uptake the policy changes. 6. For ADF DC and WebCenter client applications, restart the Web service client application. You do not need to restart a SOA composite. For more information about these WLST commands and their arguments, see Web Services Custom WLST Commands in WebLogic Scripting Tool Command Reference. Note: The policyURIs are validated through the Oracle WSM Policy Manager APIs if the wsm-pm application is installed on WebLogic Server and is available. If the policy validation fails, a message is displayed and the command is not executed. If the wsm-pm application is not installed or is not available, these commands are not executed. For additional information about validating policies, see Validating Policy Subjects on page 8-10.