modifySCAImportWSBinding command
Use the modifySCAImportWSBinding command to change the attributes of a web service import binding.
Prerequisites
The following conditions must be met:
Location
Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.
Syntax
After using the command, save your changes to the
master configuration using one of the following commands:
- For Jython:
AdminConfig.save()
- For Jacl:
$AdminConfig save
Required parameters
- -moduleName moduleName
- The name of the module associated with the import.
- -import import
- The name of the import.
- -endpoint targetEndpointName
- The name of the target endpoint, which must be a valid endpoint URL.
Optional parameters
- -applicationName applicationName
- The name of the application.
Example
To change the attributes of a web service import binding called myImport in a module called MyModule:
- Jython example:
AdminTask.modifySCAImportWSBinding('[-moduleName myModule -import myImport -endpoint http://myTargetEndpoint]')
- Jacl example:
$AdminTask modifySCAImportWSBinding {-moduleName myModule -import myImport -endpoint http://myTargetEndpoint}