modifySCAImportSCABinding command
Use the modifySCAImportSCABinding command to change attributes of Service Component Architecture (SCA) import bindings.
This command changes the SCA import binding for a particular SCA module. A warning is issued if you select an export whose interface does not match the interface of your import. IBM® Business Process Manager compares the WSDL port type names of the import and export. If they are not the same, a warning is issued. However, if the port type names do match, IBM Business Process Manager assumes that the operations provided are equivalent and no warning is issued.
- For Jython:
AdminConfig.save()
- For Jacl:
$AdminConfig save
Prerequisites
The following conditions must be met:
Location
Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.
Syntax
Required parameters
- -moduleName moduleName
- The name of the SCA module that contains the import.
- -import import
- The name of the import.
- -targetModule targetModuleName
- The name of the target module.
- -targetExport targetExportName
- The name of the target export.
Optional parameters
- -applicationName applicationName
- The name of the application.
- -targetApplicationName targetApplicationName
- The name of the application associated with the target SCA module. Providing a targetApplicationName improves performance.
Example
To change the attributes of an SCA import binding called myImport in a module called myModule for use in another script:
- Jython example:
AdminTask.modifySCAImportSCABinding('-moduleName myModule -applicationName myApplication -import myImport -targetModule myTargetModule -targetApplicationName myTargetApplication -targetExport myTargetExport')
- Jacl example:
$AdminTask modifySCAImportSCABinding {-moduleName myModule -applicationName myApplication -import myImport -targetModule myTargetModule -targetApplicationName myTargetApplication -targetExport myTargetExport}