Using the administrative console, you can change the configuration
of HTTP import bindings without changing the original source and then
redeploying the application.
About this task
Change HTTP import bindings when the binding properties of
an HTTP application used by a Service Component Architecture (SCA)
module change.Required security role for this task: When
security and role-base authorization are enabled, you must log in
as an administrator or configurator to perform this task.
Procedure
- Select the module
that contains the binding by navigating to and clicking the
module name.
- Select
the binding by performing the following steps:
- In the Module components section,
expand Imports.
- Expand the import, and then
expand Binding.
- Click the binding to view
information about its properties.
- Select the scope for the
changes you want to make.
- To change the configuration on the binding scope, click the Binding
Scope tab.
- To change the configuration at the method scope, click the Method
Scope tab.
When both configurations exist, the method scope configuration
takes precedence over the binding scope configuration.
- Make changes to one or more of the following
properties:
- Select method (Method scope only)
Choose
the method that you want to review or configure. Click the arrow in
the Select method field to see the list of
methods that can be configured.
- Endpoint URL
Specifies the URL for
the target service.
- HTTP Method
Specifies the method
to use for the endpoint URL.
- HTTP version
Specifies the HTTP version
to use for this endpoint URL. The choices are 1.0 and 1.1.
The default is 1.1.
- Number of connection retries
Specifies
the number of times the request is retried when the system receives
an error response. The default is 0, which
means that, after a failure, no attempt is made.
- Basic HTTP authentication
Specifies
the authentication alias to use with the HTTP server on this binding.
To
choose the authentication alias, select the alias name from the list.
To change the attributes of a selected authentication alias, click Edit.
To create a new authentication alias, click New.
- SSL authentication
Specifies the
Secure Sockets Layer (SSL) configuration to use for this binding.
To
edit an existing configuration, select the name from the list and
click Edit. To create a new configuration,
click New.
- Transfer Encoding
Specifies how information
is transferred between the endpoints. Choices are chunked or identity.
The
chunked encoding modifies the body of a message in order to transfer
it as a series of chunks, each with its own size. This allows dynamically
produced content to be transferred along with the information necessary
for the recipient to verify that it has received the full message.
Important: If you set this parameter to chunked,
Content Encoding is set to identity and you
will be unable to change Content Encoding.
- Content Encoding
Specifies how the
content that traverses the binding is encoded. Choose either gzip, x-gzip, deflate,
or identity.
- HTTP proxy settings or HTTPS
proxy settings
Specifies the settings for bindings that
do not require security authorization for access (
HTTP
proxy settings) or that do require authorization for access
(
HTTPS proxy settings).
- Proxy host
Specifies the host name or
IP address of an HTTP proxy server through which to connect to the
endpoint URL.
- Proxy port
Specifies the port used to
connect to an HTTP proxy server for this binding.
- Proxy credentials
Specifies the Java2
Connectivity (J2C) authentication alias to use for the proxy settings.
To
change an existing alias, select the alias from the list and click Edit.
To add a new alias, click New.
- Non-proxied hosts
Specifies a list of
hosts on this binding that do not use proxies. Enter each host on
a separate line (use the Enter key).
To add a host to the list,
type the host at the end of the list, separating it from the previous
entry by clicking the Enter key. To remove a host from the list, delete
the host from the list.
- Response read timeout
Specifies the
time, in seconds, that the binding waits to read the response message
from the HTTP transport channel. Setting this field to
0 causes
the binding to wait indefinitely.
Note: The HTTP transport channel
has its own Read timeout value, which is the amount of time that the
channel waits for a read request to complete on a socket after the
first read request occurs. This setting is described in
HTTP transport channel settings in the WebSphere
Application Server documentation.
- Save your changes to the master configuration.
Results
If you made any updates, the binding is
changed for the selected module. The changes take effect after you
restart the SCA module. Restriction: If the module is redeployed, the configuration
changes you made are replaced by the original settings.
To ensure
that the changes you made remain with the module across deployments,
use IBM Integration Designer to make the changes in the source code
for the module.