Description Syntax Example setSESConnection

Oracle WebCenter Custom WLST Commands 10-157

10.16.1.3 Example

The following example creates a new search connection that points to the SES instance http:myhost.com:7777searchqueryOracleSearch and makes this connection the active SES search connection for a WebCenter application named app1. wls:weblogicserverConfig createSESConnectionappName=app1, name=SESConn1, url=http:myhost.com:7777searchqueryOracleSearch, appUser=wpadmin, appPassword=password, default=1

10.16.2 setSESConnection

Module: Oracle WebCenter Use with WLST: Online

10.16.2.1 Description

Edits an existing Oracle Secure Enterprise Search SES search connection.

10.16.2.2 Syntax

setSESConnectionappName, name, [url], [appUser],[appPassword],[default], [server], [applicationVersion]

10.16.2.3 Example

The following example modifies the URL of a search connection named SESConn1 and makes the connection the active SES search connection for a WebCenter application named app1. Argument Definition appName Name of the WebCenter application in which to perform this operation. name Name of an existing search connection. url Optional. Web Services URL that Oracle Secure Enterprise Search exposes to enable Search requests. Use the format: http:host:portsearchqueryOracleSearch appUser Optional. User name that the WebCenter application uses to log in to Oracle Secure Enterprise Search so that it may perform searches on behalf of WebCenter users. appPassword Optional. Password that the WebCenter application uses to log in to Oracle Secure Enterprise Search so that it may perform searches on behalf of WebCenter users. default Optional. Configures WebCenter Search service to actively use the search connection. Valid options are 1 true and 0 false. Setting to 1 replaces any other search connection that is being used. Setting to 0 does not change the current Search service configuration. This argument defaults to 0. server Optional. Name of the managed server where the WebCenter application is deployed. For example, WC_Spaces. Required when applications with the same name are deployed to different servers and also when you have a cluster. applicationVersion Optional. Version number of the deployed application. Required if more than one version of the WebCenter application is deployed. 10-158 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference wls:weblogicserverConfig setSESConnectionappName=app1, name=SESConn1, url=http:myhost.com:7777searchqueryOracleSearch, appUser=wpadmin, appPassword=password, default=1

10.16.3 listSESConnections