Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Processing Sequence ID

This must contain the name of the Processing Sequence that is to process the inbound HTTP request. This Processing Sequence should contain one or more HTTP inbound activities that will receive and process the request and send any response.

Application Name

This is the application name that will be used as the service name in the JSMDirect service table and that the HTTP client will use in the URI that will be used to send the HTTP request.  The Application name value should be unique.

Local Host

This is the host name which will be registered in the JSMDirect service table.  It will default to *DEFAULT.
It can contain a value of *DEFAULT or a HostName:Port

OK HTTP response message

This optional entry may contain the text which is to be sent for an OK response

Note

Note:

  • The remaining fields in the inbound HTTP configuration are for advanced use.
  • Standard LANSA Composer HTTP inbound processing uses the supplied function DXHTFN1 to begin the processing of the inbound HTTP request as described in Connect Your Processing Sequence to an Inbound HTTP Request.  You will only change the following values from the defaults if you wish to alter or customize this mechanism.

Handler Type

Select from Function or IBM i 3GL.
The value selected for this Type will determine what next entry fields are required.

...


Most often, however, you may leave the default Automatic setting, which will result in the applicable HTTP activity setting an appropriate content type according to the file extension of the file being sent.  (This is achieved by a lookup on the file filetype.txt in the <system> directory of the server's JSM instance directory tree.)

Encoding

You may enter an encoding which will be used to convert the content to Unicode.

Content file directory

You may enter the local directory path which contains the content file.  You can click the prompt button to browse for a folder location on the LANSA Composer server.

NOTE: Although you can identify a specific content directory and file here as part of the HTTP configuration, it is more common to leave them blank and specify them dynamically on the parameters of the applicable HTTP activity in your Processing Sequence.

Content file name

You can enter the content file name. This file will be used as the payload of the HTTP transmission.

NOTE: Although you can identify a specific content directory and file here as part of the HTTP configuration, it is more common to leave them blank and specify them dynamically on the parameters of the applicable HTTP activity in your Processing Sequence.

Note

Note: 

  • A Test button can be used to check the validity of the parameters for Outbound HTTP Configuration.
  • The parameters tested are: Remote host, Proxy server, Secure protocol, SNI
host name
  • hostname, Authentication user and password, and Connection and Response timeout values, if applicable.
  • The HTTP remote host parameter length has increased to allow authentication methods to be added to the host URL.
  • There is also an increase in the URI to allow for longer queries.