HTTP

In this section:

Reference:

The Hypertext Transfer Protocol (HTTP) is an application-level protocol with the lightness and speed required for distributed, collaborative, hyper-media information systems. HTTP enables easy management of agent resources through management applications, such as Firefox, Internet Explorer, and so on, which are readily available in all systems.

The iWay Adapter for HTTP/S provides the iWay Service Manager Server Integration platform with the ability to send and receive messages over secure HTTP. It enables you to take advantage of the Internet by providing secure, reliable, and efficient communication with external business systems, whether within or outside of your enterprise.

The iWay Adapter for HTTP/S:

For inbound messages, the adapter receives incoming messages through the registered URL, with the message payload being either an XML message or an arbitrary proprietary data structure.


Top of page

x
HTTP Listener Properties

The following table lists and describes the HTTP listener properties. For instructions on creating a listener, see Configuring Listeners.

Property

Description

Port (required)

TCP port for receipt of HTTP requests.

Local bind address

Local bind address for multi-homed hosts: usually leave empty.

Document Root (required)

Base directory from which all HTTP pages are served.

Timeout

Timeout interval for the TCP socket.

Default Page

Default page if no page is identified in the incoming HTTP(S) request.

Response content type

Overrides content type of response.

Default Text

Default text sent with 200 OK. Takes configured Content Type.

Keystore

Full path to the keystore file, which provides certificate material to be used for secure connection.

Keystore Password

Password to access the keystore file.

Keystore Type

Type of keystore file (JKS is the default value).

Truststore

File that provides trust certificates used to authenticate clients. Leave blank to use the default JVM truststore. For more information on security, see the iWay Adapter for EDIINT User's Guide.

Truststore Password

If required, password to access truststore file.

Truststore Type

Type of truststore. For more information on security, see the iWay Adapter for EDIINT User's Guide.

Security Provider Class

Overrides the default Sun provider, which is:

com.sun.net.ssl.internal.ssl.Provider

Security Protocol

Protocol to enable security. Security protocol values include:

  • SSL. Supports some version of SSL; may support other versions.
  • SSLv2. Supports SSL version 2 or higher.
  • SSLv3. Supports SSL version 3; may support other versions.
  • TLS. Supports some version of TLS; may support other versions.
  • TLSv1. Supports TLS version 1; may support other versions.

Security Algorithm

Overrides the default security algorithm (SunX509).

Client Authentication

If true, authentication is required from the client.

Require Authorization

If true, the listener implements HTTP basic authentication using one or more authorization drivers.

Accepts non-XML (flat) only

If true, the input data is sent directly to the business logic step. The data is not preparsed, parsed, or validated. This flag is used primarily to send non-XML to the business logic or replyTo without processing it.

Optimize Favoring

Use this option to customize how the listener performs. For smaller transactions, select performance. For large input documents that could monopolize the amount of memory used by iWay Service Manager, select memory.

Multithreading

Indicates the number of worker threads (documents or requests) that iWay Service Manager can handle in parallel. Setting this to a value of greater than 1 enables the listener to handle a second request while an earlier request is still being processed. The total throughput of a system can be affected by the number of threads operating. Increasing the number of parallel operations may not necessarily improve throughput.

Default: 1

Max Value: 99

Maximum threads

Parallel threads can grow to this count automatically on demand. Over time, the worker count will decrease back to the multithreading level. Use this parameter to respond to bursts of activity.

Execution Time Limit

Maximum time that a request may take to complete. Used to prevent runaway requests. Any request that takes longer to complete than this value will be attempted to be terminated. (See the "kill interval" for related information in Global Options.)

Default Java File Encoding

Default encoding if incoming message is not self-declaring (that is, XML).

Agent Precedence

Sets the order by which iWay Service Manager selects agents. iWay Service Manager selects the agent or agents to process the document by searching through the configuration dictionary. Usually, it looks for a document entry in the configuration and when a match is found, the agent specified in that document entry is selected. If a matching document entry is not found, or no agent is specified, the engine looks in the input protocol configuration (listener). To have the processing agent taken directly from the listener (thus ignoring the document entry), use <listener> overrides <document>.

Possible values are <document> overrides <listener> and <listener> overrides <document>.

The default value is: <document> overrides <listener>

Always reply to listener default

If true, the default reply definition is used in addition to defined reply-to and error-to destinations.

Error Documents treated normally

If true, error documents are processed by any configured preemitters.

Listener is Transaction Manager

If true, agents run within a local transaction. Agents can roll back uncompleted transactions.

Record in Activity Log(s)

If set, activity on this channel will be recorded in the activity logs, else the activity will not be recorded.



x
Reference: HTTP Listener Special Registers

The following table lists and describes the special registers on the HTTP listener.

Name

Level

Type

Description

...

Header

String

Each header value from the message.

action

Document

String

Action field of the post.

docroot

Document

String

The defined docroot from configuration.

ip

Document

String

IP address of the sender.

iwayconfig

System

String

Current active configuration name.

iwayhome

System

String

Base at which the server is loaded.

iwayworkdir

System

String

Path to the base of the current configuration.

msgsize

Document

Integer

Physical length of the message payload.

name

System

String

Assigned name of the master (listener).

protocol

System

String

Protocol on which message was received.

requestType

Header

String

Type of HTTP request (GET, POST, or HEAD).

source

Document

String

Host name of the sender.

url

Header

String

Type of full URL of the HTTP (GET, POST, or HEAD).



x
HTTP Emitter Properties

The following table lists and describes the HTTP emit properties. For instructions on creating an HTTP emitter, see Configuring Emitters.

Property

Description

Destination (required)

URL to which to post this information.

Action Method

Select GET (with data on the URL and URL encoded) or POST (with a content length header).

Response content type

Overrides response content type value. Choose from among the following values:

  • application/EDI-X12
  • application/EDIFACT
  • application/XML
  • text/html
  • text/plain

User ID

Valid user ID for basic authentication challenges.

Password

Password associated with the user ID.

Response Timeout value in seconds

Time (in seconds) to wait for response before signaling an error as integer.

IP Interface Host

Local IP interface from which the outgoing IP socket originates.

IP Interface Port

Local IP port from which the outgoing IP socket originates.

Relay Inbound Content Type

If true, relay headers are received as content type.

Proxy

If true, emit through proxy server.

Proxy URL

URL of the proxy server.

Proxy User ID

User ID for proxy authentication challenges.

Proxy Password

Password to access proxy server.

Secure Connection

If true, use a secure connection. You may be required to configure the keystore under the HTTPS section of the system properties if client authentication is required, or if a certificate is used that does not have a matching entry in the default truststore of the JVM.

Use 128-bit Encryption

Select true to use 128-bit encryption.

Security Protocol

Select from the drop-down list.

SSL. Supports some version of SSL; may support other versions.

SSLv2. Supports SSL version 2 or higher.

SSLv3. Supports SSL version 3; may support other versions.

TLS. Supports some version of TLS; may support other versions.

TLSv1. Supports TLS version 1; may support other versions.


iWay Software