Description Syntax Example enableWebServiceClientPolicies

Web Services Custom WLST Commands 14-33 wls:wls-domainserverConfigenableWebServiceClientPolicyNone, defaultHelloWorld[1.0],soa,client,HelloWorld_pt,oraclelog_policy, false

14.3.13 enableWebServiceClientPolicies

Command Category: Policy Management Use with WLST: Online

14.3.13.1 Description

Enable or disable multiple policies of a Web service client port of an application or SOA composite.

14.3.13.2 Syntax

enableWebServiceClientPoliciesapplication,moduleOrCompName,moduleType, serviceRefName,portInfoName,policyURIs,[enable], [subjectType=None] Note: Policy changes made using this WLST command are only effective after you restart your application. For ADF and WebCenter applications, a message is displayed to remind you to restart your application. Argument Definition application Name and path of the application for which you want to enable or disable multiple policies of a Web service client port. For example, domainserverapplicationversion_number To enable or disable multiple policies of a client port of a Web service application, this argument is required. moduleOrCompName Name of the Web module or SOA composite for example HelloWorld[1.0] for which you want to enable or disable multiple policies of a client port. To enable or disable multiple policies of a client port for a SOA composite, the composite name is required for example defaultHelloWorld[1.0], and the moduleType argument must be set to soa. moduleType Module type. Valid options are: ■ web—Use with asynchronous Web service callback client. ■ soa—Required for a SOA composite. ■ wsconn—Use with a connection-based Web service client such as an ADF DC Web service client, ADF JAX-WS Indirection Proxy, or WebCenter client. serviceRefName The service reference name of the application or composite. portInfoName The name of the client port to which you want to attach the Oracle WSM client policies. policyURIs The list of Oracle WSM policy name URIs, for example [oraclelog_policy,oraclewss_username_token_ client_policy]. 14-34 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

14.3.13.3 Example

The following example enables the client policies oraclelog_policy and oraclewss_username_token_client_policy of the port JRFWssUsernamePort of the Web module WssUsernameClient. The Web service is part of the application jwsclient_11.1.0 for the server soa1 in the domain soainfra. wls:wls-domainserverConfigenableWebServiceClientPolicies soainfrasoa1jwsclient_11.1.0,WssUsernameClient,wsconn, WssUsernameClient,JRFWssUsernamePort, [oraclelog_policy, oraclewss_username_token_client_policy], true

14.3.14 detachWebServiceClientPolicy