Reading an outbound HTTP connection configuration profile
This configuration task reads an outbound HTTP connection configuration and exports it to an XML document. System administrators can use this document to update the configuration of an outbound HTTP connection. We can read a global configuration or an application-scoped configuration.
To update an outbound HTTP connection configuration, you first create the XML document using use the configuration task read-outbound-http-connection-config. Then, you modify the document as required and update the outbound HTTP connection configuration using the configuration task update-outbound-http-connection-config.
The syntax of the configuration task differs, depending on whether to read the settings for a global configuration or for an application-scoped configuration.
Reading the global outbound HTTP connection profile
To read the outbound HTTP connection settings for the global configuration...
ConfigEngine.bat read-outbound-http-connection-config -DConfigFileName=your_path\config_file.xml
your_path/config_file.xml is the absolute path name of the XML document to which we want the configuration settings to be written.
Reading an application-scoped outbound HTTP connection profile
To read the outbound HTTP connection settings for an application-scoped configuration, use the following syntax:
/ConfigEngine.bat read-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:
- Access the WAS console.
- Select the enterprise application for which the outbound HTTP connection is scoped.
- Click View Deployment Descriptor.
- Locate the value of the context root tag.
An example context root is /PA_Banner_Ad.
Parent Configure outbound HTTP connections using ConfigEngine tasks