modifySCAImportHttpBinding command
Use the modifySCAImportHttpBinding command to change the attributes of an HTTP 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
The modifySCAImportHttpBinding command
changes the properties of an HTTP import binding at the binding scope
or the method scope.
- If a parameter is changed at the binding scope, the syntax should
be:
<bindingName>newValue</bindingName>
- If a parameter is changed at the method scope, the syntax should
be:
<methodName>newValue</methodName>
The following circumstances cause an SCACommandException to
be thrown:
- A resource of an invalid type is specified.
- A resource is specified that does not exist.
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.
Optional parameters
- -applicationName applicationName
- The name of the application.
- -endpointURL endpointURL
- The endpoint URL. The default value is the URI originally specified when the module was created in IBM® Integration Designer.
- -endpointHttpMethod methodName
- The endpoint URL method. The default value is the method originally specified when the module was created in IBM Integration Designer.
- -endpointHttpVersion version
- The endpoint HTTP version, which can be 1.1 or 1.0. The default is 1.1.
- -authAlias authenticationAlias
- The authentication alias to use with the HTTP server.
- -sslConfiguration configuration
- The Secure Sockets Layer (SSL) configuration to use for this binding.
- -transferEncoding transferEncoding
- An indication of how information is transferred between the endpoints. Valid values are chunked and identity.
- -contentEncoding contentEncoding
- An indication of how the content that traverses the binding is encoded. Valid values are gzip, x-gzip, deflate, and identity.
- -httpProxyHost hostName
- The host name or IP address of an HTTP proxy server through which to connect to the endpoint URL.
- -httpProxyPort portTitle
- The port used to connect to an HTTP proxy server for this binding.
- -httpNonProxyHosts hostTitle
- The list of hosts on this binding that do not use proxies.
- -httpProxyCredential-AuthAlias aliasName
- The name of the HTTP proxy credential.
- -httpsProxyHost hostName
- The host name or IP address of an HTTP proxy server through which to connect to the endpoint URL.
- -httpsProxyPort portTitle
- The port used to connect to an HTTP proxy server for this binding.
- -httpsNonProxyHosts hostTitle
- The list of hosts on this binding that do not use proxies.
- -httpsProxyCredential-AuthAlias aliasName
- The name of the HTTPS proxy credential.
- -responseReadTimeout timeout
- The response read timeout.
- -connectionRetries connectionRetries
- The number of times the request is retried when the system receives an error response. The default is 0 (no attempts are made to retry the request after a failure).
Examples
The following example uses the modifySCAImportHttpBinding command to change the number of connection retries of an HTTP import binding called Import1 in a module called MyMod to 3.
The changes are made at the binding scope.
- Jython example:
AdminTask.modifySCAImportHttpBinding('[-moduleName MyMod -import Import1 -connectionRetries <Import1>3</Import1>]')
- Jacl example:
$AdminTask modifySCAImportHttpBinding {-moduleName MyMod -import Import1 -connectionRetries <Import1>3</Import1>}
The following example uses tge modifySCAImportHttpBinding command to change the number of connection retries of an HTTP import binding called Import1 in a module called MyMod to 3.
The changes are made at the method scope.
- Jython example:
AdminTask.modifySCAImportHttpBinding('[-moduleName MyMod -import Import1 -connectionRetries <method1>3</method1>]')
- Jacl example:
$AdminTask modifySCAImportHttpBinding {-moduleName MyMod -import Import1 -connectionRetries <method1>3</method1>}