modifySCMConnectivityProvider command

Use the modifySCMConnectivityProvider command to modify the details of a Service Connectivity Management (SCM) connectivity provider.

The modifySCMConnectivityProvider command changes the details of a connectivity provider, given its name or target object.

Specify the object to be modified, either as a target object or by a name parameter. If the target object does not represent a connectivity provider, or a connectivity provider does not exist with the given name, an exception is thrown.

Use the following command to list all the Service Connectivity Management administrative commands:
print AdminTask.help('SCMAdminCommands')

The modifySCMConnectivityProvider command is run using the AdminTask object of the wsadmin scripting client.

Prerequisites

The following conditions must be met:
  • The command must be run on the deployment manager node.
  • If the deployment manager is stopped, use the wsadmin -conntype none option to run the command in disconnected mode.
  • If the deployment manager is running, you must connect with a user ID that has WebSphere Application Server configurator privileges. Do not use the wsadmin -conntype none option.

Location

Start the wsadmin scripting client from the deployment_manager_profile/bin directory. The modifySCMConnectivityProvider command does not write to a log file, but the wsadmin scripting client always writes a profile_root/logs/wsadmin.traceout log file where you will find exception stack traces and other information.

Syntax

modifySCMConnectivityProvider
-name connectivityProviderName | target
[-proxyHostHTTP httpHost]
[-proxyPortHTTP httpPort]
[-proxyHostHTTPS httpsHost]
[-proxyPortHTTPS httpsPort]
[-description connectivityProviderDescription]
[-contact contactName]
[-organization organizationName]
[-location locationName]
[-authAlias alias]
[-repertoire sslConfig]

Parameters

-name connectivityProviderName
A required parameter that specifies the name of the connectivity provider to be modified, as a string.
target
A required parameter that specifies the connectivity provider target object.
-proxyHostHTTP httpHost
A parameter that specifies the host name that will be returned for the endpoint of an insecure proxy target. This should be the host that web service clients in another domain will use to access the proxy, taking into account web servers and other network components. If not specified, the current value is retained.
-proxyPortHTTP httpPort
A parameter that specifies the port that will be returned for the endpoint of an insecure proxy target. This should be the host that web service clients in another domain will use to access the proxy, taking in to account web servers and other network components. If not specified, the current value is retained.
-proxyHostHTTPS httpsHost
A parameter that specifies the host name that will be returned for the endpoint of a secure proxy target. This should be the host that web service clients in another domain will use to access the proxy, taking in to account web servers and other network components. If not specified, the current value is retained.
-proxyPortHTTPS httpsPort
A parameter that specifies the port that will be returned for the endpoint of a secure proxy target. This should be the host that web service clients in another domain will use to access the proxy taking in to account web servers and other network components. If not specified, the current value is retained.
-description connectivityProviderDescription
A required parameter that provides a brief description of the connectivity provider. The name, description, contact, organization and location will be visible to users of the Service Federation Management console. If not specified, the current value is retained.
-contact contactName
A parameter that specifies the name of a contact person for the connectivity provider. The name, description, contact, organization and location will be visible to users of the Service Federation Management console. If not specified, the current value is retained.
-organization organizationName
A parameter that specifies the name of the owning organization for the connectivity provider. The name, description, contact, organization and location will be visible to users of the Service Federation Management console. If not specified, the current value is retained.
-location locationName
A parameter that specifies the location for the connectivity provider. The name, description, contact, organization and location will be visible to users of the Service Federation Management console. If not specified, the current value is retained.
-authAlias alias
A parameter that specifies the authentication alias that will provide the basic authentication credentials used to retrieve WSDL documents via HTTP from the service registry associated with the connectivity provider's domain. If not specified, the current value is retained.
-repertoire sslConfig
A parameter that specifies the SSL configuration used to retrieve WSDL documents via HTTP from a secure service registry associated with the connectivity provider's domain. If not specified, the current value is retained.

Example

The following example modifies the description and registry security settings for the connectivity provider myProvider:

wsadmin>AdminTask.modifySCMConnectivityProvider(
['-name', 'myScalableProvider', '-description', 'Newdescription',
'-authAlias', 'NEW_REGISTRY_AUTH_ALIAS', 
'-repertoire', 'NEW_REGISTRY_SSL_CONFIG'])