Configure additional HTTP transport properties using the administrative console

This topic explains how to configure additional HTTP transport properties with the JVM custom properties panel in the administrative console.

 

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:

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 the administrative console with the following steps provided in this task section:

 

Procedure

  1. Open the administrative console.

    1. Click Servers > Application Servers > server > Process Definition > Control > Java Virtual Machine > Custom Properties to define the property in the Control, or click Application Server > server > Process Definition > Servant > Java Virtual Machine > Custom Properties to define the property in the Servant.

  2. (Optional) If the property is not listed, create a new property name.

  3. Enter the name and value.

  4. (Optional) Accept the redirection of the HTTP request to a different URI in HTTPS.

    A redirection of the HTTP request to a different URI in HTTPS can occur if the transport guarantee of CONFIDENTIAL or INTEGRAL is configured in the application. To accept the redirection, one can do either of the following tasks:

    • Set the com.ibm.ws.webservices.HttpRedirectEnabled Java system property to true.

    • Programmatically set the com.ibm.wsspi.webservices.Constants.HTTP_REDIRECT_ENABLED property to true in the stub or call object before invoking the service.

 

Result

You have configured HTTP transport properties for a Web services application.