Routing requests through an HTTP proxy server that has authentication enabled
You can send requests through an HTTP proxy server that
requires authentication, by using the mqsisetdbparms command to specify
credentials on the httpproxy::
resource name.
About this task
You can configure the following message flow nodes to
route requests through an HTTP proxy server, by setting the HTTP(S)
proxy location parameter:
- HTTPAsyncRequest
- HTTPRequest
- RESTAsyncRequest
- RESTRequest
- SalesforceRequest
- SOAPAsyncRequest
- SOAPRequest
If the HTTP proxy server requires authentication, you
can provide the user name and password by specifying the httpproxy::
resource
name through the mqsisetdbparms command.
Note: A
message flow can provide the proxy authentication user name and password
through the
ProxyConnectHeaders
property in the local
environment for HTTPS requests, or the Proxy-Authorization
header
for HTTP requests. If these are present in the flow, they take precedence
over values set by the mqsisetdbparms command; this
applies to the HTTP, REST, and SOAP nodes listed above, but not to
the SalesforceRequest node.Procedure
Follow these steps to enable a message flow node to route requests through an HTTP proxy server: