This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

modifySCAImportSCABinding command

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
Use the modifySCAImportSCABinding command to change attributes of Service Component Architecture (SCA) import bindings.
The modifySCAImportSCABinding command is used to change import bindings of the default type.
Note: The default binding type is also referred to as an SCA binding. Therefore, an SCA module can have an import with an SCA binding.
An SCA binding connects one SCA module to another SCA module.

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 Automation Workflow 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 Automation Workflow assumes that the operations provided are equivalent and no warning is issued.

Draft comment:
Need a Prerequisites section. Does this command run in connected or not connected mode? If it runs in connected mode, include security role information. Make clear if the role is a BPM or WAS role. For a wsadmin command that runs in connected mode, you must specify the user and password parameters in the syntax and example.

Location

Draft comment:
Is this correct?

Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.

Syntax

modifySCAImportSCABinding
-moduleName moduleName
-import import_name
-targetModule targetModuleName
-targetExport targetExportName
[-applicationName applicationName]
[-targetApplicationName targetApplicationName]

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:
AdminTask.modifySCAImportSCABinding('-moduleName myModule 
-applicationName myApplication -import myImport
-targetModule myTargetModule 
-targetApplicationName myTargetApplication 
-targetExport myTargetExport')