removeSCMConnectivityProvider command

Use the removeSCMConnectivityProvider command to remove a Service Connectivity Management (SCM) connectivity provider.

The removeSCMConnectivityProvider removes a connectivity provider that has been named or supplied as a target object. An exception is thrown if there are still proxy gateway modules deployed to the target server or cluster representing group proxies created on this connectivity provider. The group proxies should be removed via the Service Federation Management console or, if the connectivity provider is no longer managed by the console, the proxy gateway modules should be manually removed by the IBM® Business Process Manager administrator.

Specify the object to be removed either as a target object or by a name parameter.

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

The removeSCMConnectivityProvider 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 removeSCMConnectivityProvider 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

removeSCMConnectivityProvider
-name connectivityProviderName | target

Parameters

-name connectivityProviderName
A required parameter that specifies the name of the connectivity provider to be removed, as a string.
target
A required parameter that specifies the connectivity provider target object.

Example

wsadmin>AdminTask.removeSCMConnectivityProvider( ['-name', 'myProvider'] )