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.

Command name
modifySCMConnectivityProvider
Target
javax.management.ObjectName SCMConnectivityProvider - the connectivity provider to be modified.
Result
javax.management.ObjectName SCMConnectivityProvider - the connectivity provider modified.
The modifySCMConnectivityProvider command is run using the AdminTask object of the wsadmin scripting client.
  • Locate the command that starts the wsadmin scripting client: this is found in the install_root\bin directory.
  • Run the wsadmin command.
    • If the server is not running, use the -conntype none option.
    • If you are not connecting to the default profile, use the -profileName profile_name option.
Use the following command to list all the Service Connectivity Management administrative commands.
  • Using Jacl:
    $AdminTask help SCMAdminCommands 
  • Using Jython:
    print AdminTask.help('SCMAdminCommands')
Use the following command to get detailed help on a particular command.
  • Using Jacl:
    AdminTask help command_name$
  • Using Jython:
    print AdminTask.help('command_name')

Prerequisites

Location

The modifySCMConnectivityProvider command is run using the AdminTask object of the wsadmin scripting client. The wsadmin scripting client is located in the install_root\bin directory.

Syntax

>>-wsadmin-- --modifySCMConnectivityProvider-- -name------------------>

>--+-----------------+--+-----------------+--+------------------+-->
   '- -proxyHostHTTP-'  '- -proxyPortHTTP-'  '- -proxyHostHTTPS-'

>--+------------------+--+-----------+--+----------------+--------->             
   '- -proxyPortHTTPS-'  '- -contact-'  '- -organization-'

>--+------------+--+-------------+--+--------------+--------------->
   '- -location-'  '- -authAlias-'  '- -repertoire-'

Required parameters

-name connectivityProviderName
The name of the connectivity provider to be modified, as a string.
target
The connectivity provider target object.
-proxyHostHTTP
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
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
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
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 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
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
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:

Using Jacl:
$AdminTask modifySCMConnectivityProvider {
-name myScalableProvider -description "New description" 
-authAlias NEW_REGISTRY_AUTH_ALIAS 
-repertoire NEW_REGISTRY_SSL_CONFIG }
Using Jython:
AdminTask.modifySCMConnectivityProvider(
'[-name myScalableProvider -description "New description"
-authAlias NEW_REGISTRY_AUTH_ALIAS 
-repertoire NEW_REGISTRY_SSL_CONFIG]')