WelcomeUser GuideReference ManualAppendices
 

1.8.6. Http Client Out Gateway

See: Managing Channels - Manage a Channel
With an HttpClientOut Gateway, outgoing messages are send using a Http connection.

To create a HttpClientOut gateway, select an existing template or make a copy of the generic HttpClientOut template in the catalogue and following screen will be displayed.

HttpClientOut gateway configuration

Figure 1.91. HttpClientOut gateway configuration


you can select several http internal in

The following fields should be defined in order to configure your HttpClientOut access:

Url

External service address.

Username

Login or username to access the service .

Password

Password associated to previous username.

SSLTrustLevel

Select SSl algorithm,if any.

Connected Gateway

Select gateway that receive the response from the gateway.If no gateway is selected the http response will only be use to validate the success Expression then be discarted

Filename

Filename of the outgoing message.

Response Filename

Filename of the Response message.

After defining the previous fields, you can complete setup of gateway manually by adding string properties under advanced properties.

The properties that may be added to complete setup of gateway are:

Http client out Gateway Out Advanced Properties configuration

Figure 1.92. Http client out Gateway Out Advanced Properties configuration


Success expression

expression is a regex. If response doesn't match the message is flag in error.

Preemptive authentication

a flag for preemptive authentication.

Login url

httpCient in is not mandatory any more.

Authentication method

it supports form authentication now.you can select from "FORM,BASIC,ANY,DIGEST,CERT"

numberOfRetries

number of retry (default = 1)

userAgent

(default = "babelway-HttpClientOutGateway")

timeout

(default = 90s)

http-header:CUSTOM_HEADER

You can also add specific http header by adding the string properties with the following prefix "http-header:" followed by the name of the header. This accepts metadata.

auth-form-field:CUSTOM_AUTHENTICATION_FORM_FIELD

You can also add specific authentication form field by adding the string properties with the following prefix "auth-form-field:" followed by the name of the header. This accepts metadata.

authFormContentType

You can specify the content type of the submitted authentication form (default is application/x-www-form-urlencoded).

After hub deployment, your connection will be available to send messages.