Description Syntax Examples listWebServicePolicies

14-18 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference Use with WLST: Online

14.3.1.1 Description

Display a list of all the available Oracle Web Services Manager WSM policies by category or subject type.

14.3.1.2 Syntax

listAvailableWebServicePolicies[category],[subject]

14.3.1.3 Example

The following example lists all the available Oracle WSM server security policies in the domain. wls:wls-domainserverConfiglistAvailableWebServicePoliciessecurity,server

14.3.2 listWebServicePolicies

Command Category: Policy Management Use with WLST: Online

14.3.2.1 Description

List Web service port policy information for a Web service in an application or SOA composite. The output will display the Web service port name, the OWSM policies it has attached to it, and if applicable, any policy override properties. For example: HelloWorldPort: security : oraclewss_username_token_service_policy , enabled=true

14.3.2.2 Syntax

listWebServicePoliciesapplication,moduleOrCompName,moduleType,serviceName,subject Name Argument Definition category Optional. The policy category, for example: security , management. subject Optional. The policy subject type, for example: server or client. Argument Definition application Name and path of the application for which you want to list the Web services port policy information. For example, domainserverapplicationversion_number To list the port policy information for 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 list the Web services port policy information. To list the port policy information for a SOA composite, the composite name is required for example defaultHelloWorld[1.0], and the moduleType argument must be set to soa. Web Services Custom WLST Commands 14-19

14.3.2.3 Examples

The following example lists the Web service port policy information for the application HelloWorld1_0 for the server soa1 in the domain soainfra. In this example, the Web module name is j2wbasicPolicy, the service name is WssUsernameService, and the subject is a port named JRFWssUsernamePort. wls:wls-domainserverConfiglistWebServicePolicies soainfrasoa1HelloWorld1_0,j2wbasicPolicy,web, WssUsernameService,JRFWssUsernamePort The following example lists the port policy information for the SOA composite defaultHelloWorld[1.0]. Note that the moduleType is set to SOA, the service name is HelloService, and the subject is a port named HelloWorld_pt. wls:wls-domainserverConfiglistWebServicePolicies None, defaultHelloWorld[1.0],soa,HelloService,HelloWorld_pt

14.3.3 attachWebServicePolicy