Configuration

You can use the parameters provided here to configure the HTTP Client Connector.

The Connector has the following parameters:

HTTP URL
The HTTP page to request.
Note: If you use an https:// address, you might also require to import a certificate, for example, if the server uses a self-signed certificate. Click Get Certificate to contact the server on the specified URL and install the server's certificate in the truststore, if required.
Request Method
The HTTP method to use when requesting the page. See http://www.w3.org/Protocols/HTTP/Methods.html for more information
Username
If set the HTTP Authorization header is set using this parameter along with the Password parameter.
Password
Used if Username is specified.
Proxy
If specified, connect to a proxy server rather than directly to the host specified in the URL. The format is proxyhost:port (for example, proxy:8080), where proxy is the name of the proxyhost, and 8080 is the port number to use.
Proxy Server User Name
Specifies the user name to authenticate to the proxy server, if the proxy server that you use requires authentication.
Proxy Server Password
Specifies the password for the proxy server user name that you specified.
File to HTTP Body
The full path of the file. The file contents are copied as HTTP body in the HTTP message. This overrides any possible Parser processing.
Content Type
If set, this will be used as the http.content-type for the file sent as specified by the File to HTTP Body parameter, or other HTTP Body Attribute that may be present in the Entry (see the HTTP Attributes described above).
File from Response HTTP Body
The full path of the file. The body of the response HTTP message is copied to the file.
Timeout
Timeout in seconds for each of the operations: connecting to the server and receiving response from it. A timeout of zero is interpreted as an infinite timeout. If the timeout expires, a java.net.SocketTimeoutException is raised (for more information see the online documentation for java.net.Socket).
Detailed Log
If this parameter is checked, more detailed log messages are generated.

You select a Parser from the Parser pane; select the parser by clicking the top-left Select Parser button. If specified, this Parser is used to generate the http.body content when sending data. The parser gets an entry with those attributes where the name does not begin with http. Also, this Parser (if specified) gets the http.body for additional parsing when receiving data. However, do not specify system:/Parsers/ibmdi.HTTP, because a message body does not contain another message.