Work with specific protocols and standards > AS4 > Configure a one-way client pull

Configure a one-way client pull

About this topic

This topic describes options for configuring Activator as an AS4 pull client.

For an example of an AS4 pull server configuration, see AS4 use case: One-way pull (MMD initiated).

Prerequisites

In order to correctly configure an AS4 client pull transaction, you must have a formal agreement of how you will exchange AS4 messages with the pull server. This agreement includes:

Pull initiation options

With Activator, there are several ways to initiate an AS4 message pull from a remote server:

Scheduled pull configuration

To schedule AS4 client polling, you work in the AS4 polling client Pickup/ Advanced tab.

On the Advanced tab you can set the following poll scheduling parameters:

When you have set these poll scheduling parameters (along with the proper connection and enveloping information) the polling client will automatically execute pulls of available messages according to the settings. PullRequests are generated iteratively, as long as a user message or a message fragment is received in response to generated PullRequest. If an eb:Error is received in response to a pull request, then the remaining PullRequests in the cycle are not generated.

MMD-initiated pull configuration

To use an MMD to initiate the polling of a remote AS4 server queue:

The following figure illustrates an example of a pull-request processing sequence initiated by a back-end MMD.

Diagram showing example of a pull-request processing sequence initiated by a back-end MMD

In this figure the following events occur:

  1. Activator consumes an AS4 MMD from the back-end file system.
  2. Activator message handler analyzes the MMD and detects that it is an AS4 pull request.
  3. Activator applies AS4 collaboration settings and builds and packages the outbound AS4 signal message.
  4. Activator sends the AS4 pull request signal message to the server using the partner AS4 delivery exchange.
  5. The remote server receives the pull request. It checks the sender, receiver and MPC that are specified in the pull request, and if it finds a match, and if there are any queued messages in the corresponding queue, the server returns the first queued AS4 user message.
  6. If receipts are expected by the sender of the user message, and if "Generate receipts" is enabled on the AS4 trading pickup referenced by AS4.ResponseProcessingExchangePoint metadata in PullRequest MMD, then synchronous receipts are generated.

Message Participation Channel options

For a detailed description of Message Participation Channel selection, see Message Partition Channels (MPC).

Security options

In the Community Collaboration Settings, you can select several security options for packaging and sending AS4 messages:

For additional information, see the Collaboration Settings section: AS4 default settings.

For additional information on user authentication and username tokens, see AS4 user authentication.

Reliable Messaging options

Activator supports the use of reliable messaging multiple retry features for AS4 message exchanges.

This is a feature that is configured on the AS4 Server side, enabling the server to make multiple attempts to respond to client pull request, in the event of a user message delivery failure in response to a pull request.

Message Splitting options

For detailed information on setting up message splitting, see Large message splitting and joining.

Related topics