+

Search Tips   |   Advanced Search

Update an outbound HTTP connection configuration profile

This configuration task updates the configuration profile settings of the outbound HTTP connection with the settings specified in an XML document. Use this task to manage existing outbound HTTP settings of the configuration. We can update a global configuration or an application-scoped configuration.

The configuration task updates the specified configuration settings. It creates the specified configuration settings if they do not exist.

The syntax of the configuration task differs, depending on whether to update the settings for a global configuration or for an application-scoped configuration.

To update an outbound HTTP connection configuration, we use the ConfigEngine tasks read-outbound-http-connection-config and update-outbound-http-connection-config.

  1. Run the configuration task read-outbound-http-connection-config. It exports the outbound HTTP connection configuration to an XML document.

  2. Update the XML document that resulted from the previous step as appropriate.

  3. To apply the updates to the configuration, we use the configuration task update-outbound-http-connection-config.


Update the global outbound HTTP connection profile

Update the outbound HTTP connection settings for the global configuration, use the following syntax:

    ConfigEngine.bat update-outbound-http-connection-config -DConfigFileName=your_path\config_file.xml


Update an application-scoped outbound HTTP connection profile

Update the outbound HTTP connection settings for an application-scoped configuration, use the following syntax:

    ConfigEngine.bat update-outbound-http-connection-config -DConfigFileName=your_path\config_file.xml -DApplicationScopeRef=scoperef

scoperef is the context root of the application to which the configuration settings are scoped. To obtain the scope reference:

  1. Access the WAS console.

  2. Select the enterprise application for which the outbound HTTP connection is scoped.

  3. Click View Deployment Descriptor.

  4. Locate the value of the context root tag.
An example context root is /PA_Banner_Ad.


Parent Configure outbound HTTP connections using ConfigEngine tasks