Configure additional HTTP transport properties with an assembly tool
This topic explains how to configure additional HTTP transport properties with an assembly tool. The assembly tool is used to configure the ibm-webservicesclient-bnd.xmi deployment descriptor binding file.
Before you begin
One can configure additional HTTP transport properties with assembly tools provided with WebSphere Application Server.You must configure the assembly tool before use it.
Overview
This task is one of three ways that one can configure additional HTTP transport properties for a Web Service acting as a client to another Web service. We can also configure the additional HTTP transport properties in the following ways:
- Configure the properties the JVM custom property panel in the administrative console.
- Configure the properties using the wsadmin command-line tool.
If you want to programmatically configure the properties using the Java API XML-based Remote Procedure Call (JAX-RPC) programming model, review the JAX-RPC specification that is available through Web services: Resources for learning.
See Additional HTTP transport properties for Web services applications for more information about the following properties that one can configure:
- com.ibm.websphere.webservices.http.requestContentEncoding
- com.ibm.websphere.webservices.http.responseContentEncoding
- com.ibm.websphere.webservices.http.connectionKeepAlive
- com.ibm.websphere.webservices.http.requestResendEnabled
- http.proxyHost
- http.proxyPort
- https.proxyHost
- https.proxyPort
These additional properties are configured for Web services applications that use the HTTP protocol. The properties affect the content encoding of the message in the HTTP request, the HTTP response, the HTTP connection persistence and the behavior of an HTTP request that is resent after a java.net.ConnectException error occurs when there is a read time-out.
Configure the additional HTTP properties with an assembly tool with the following steps provided in this task section:
Procedure
- Start an assembly tool. The assembly tools, Application Server Toolkit (AST) and Rational Web Developer, provide a graphical interface for developing code artifacts, assembling the code artifacts into various archives (modules) and configuring related J2EE V1.2, 1.3 or 1.4 compliant deployment descriptors.
- Create and specify the name/value pair in the Web Services Client Port Binding page for a Web service client. The Web Services Client Port Binding page is available after double-clicking the client deployment descriptor file.
Result
You have configured additional HTTP transport properties for a Web services application.