Description Syntax Examples listWebServices

14-4 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

14.2.1 listWebServices

Command Category: Web Service and Client Management Use with WLST: Online

14.2.1.1 Description

Lists the Web service information for an application, SOA composite, or domain. If you dont specify a Web service application or a SOA composite, the command lists all services in all applications and composites for every server instance in the domain. You can specify the amount of information to be displayed using the detail argument. The output is listed by each application deployed as shown in the following example: domainserverapplicationversion_number: serviceName=service, moduleType=web, moduleName=helloModule soainfraAdminServersoa-infra: serviceName=service, moduleType=soa, compositeName=defaultHelloWorld[1.0]

14.2.1.2 Syntax

listWebServices application,composite,[detail] listWebServiceClientPorts List Web service client ports information for an application or SOA composite. Online listWebServiceClientStubProperties List Web service client port stub properties for an application or SOA composite. Online setWebServiceClientStubProperty Set, change, or delete a single stub property of a Web service client port for an application or SOA composite. Online setWebServiceClientStubProperties Configure the set of stub properties of a Web service client port for an application or SOA composite. Online Note: The listWebServices command output does not include details on SOA components, including policy attachments. Argument Definition application Name and path of the application for which you want to list the Web services. For example, domainserverapplicationversion_ number If specified, all Web services in the application are listed. composite Name of the SOA composite for which you want to list the Web services. For example, defaultHelloWorld[1.0] If specified, all Web services in the composite are listed. Table 14–2 Cont. Web Service and Client Management WLST Commands Use this command... To... Use with WLST... Web Services Custom WLST Commands 14-5

14.2.1.3 Examples

The following example lists all the Web services in all applications and composites in the domain. Sample output is also shown in this example. wls:soainfraserverConfig listWebServices soainfraAdminServersoa-infra : serviceName=service, moduleType=soa, compositeName=defaultHelloWorld[1.0] serviceName=bpelprocess1_client_ep, moduleType=soa, compositeName=defaultProject1[1.0] soainfraAdminServerHelloWorld1_0 : serviceName=WssUsernameService, moduleType=web, moduleName=j2wbasicPolicy The following example sets the detail argument to true. The output from this command provides endpoint port and policy details for all applications and composites in the domain, and indicates if the endpoints are secure. Sample output is also shown in this example. wls:jrfServer_domainserverConfig listWebServicesdetail=true jrfServer_domainjrfServerjaxws-sut-no-policy : moduleName=jaxws-service, moduleType=web, serviceName=TestService enableTestPage: true enableWSDL: true TestPort http:host.us.oracle.com:7010jaxws-serviceTestService enable: true enableREST: false enableSOAP: true maxRequestSize: -1 loggingLevel: NULL No policies attached; endpoint is not secure. jrfServer_domainjrfServerjaxws-sut : moduleName=jaxws-sut-service, moduleType=web, serviceName=TestService enableTestPage: true enableWSDL: true TestPort http:host.us.oracle.com:7010jaxws-sut-serviceTestService enable: true enableREST: false enableSOAP: true maxRequestSize: -1 loggingLevel: NULL management : oraclelog_policy, enabled=true security: oraclewss_username_token_service_policy, enabled=true detail Optional. Specifies whether to list port and policy details for the Web service. Valid values are: ■ true—Output includes details about the service, the port, and the policies. ■ false—Output lists only the services. The default is false. Argument Definition 14-6 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference security: oraclebinding_authorization_denyall_policy, enabled=true global security: oraclewss10_message_protection_service_policy, enabled=true policysetsglobalglobal_app_mess_prot: Applicationjaxws-sut Attached policy or policies are valid; endpoint is secure.

14.2.2 listWebServicePorts