Configuring Proxy Settings

If a proxy server with authentication is applied, an HTTP error (407) can occur. You can prevent this error by setting the <ProxySettings> xml element.

Example:

<ProxySettings enabled="true" useDefaultCredentials="false" 
credentials="C8c/BC4QXJ4ob6OAGbVduxbmL5FG/V5RWYjfUBqs2Lc="/>

The following attributes are available:

  • enabled='true': If set to true, the useDefaultCredentials attribute is checked.
  • useDefaultCredentials='false': If set to true, the default credentials are applied. If set to false, the credentials given in the credentials attribute are applied.
  • credentials='abcxyz': If this attribute is not given or is left empty, no credentials are applied for the proxy. If credentials are given, the encrypted value is decrypted into username and password and then applied to set the NetworkCredential object for the proxy.