Versions Compared

Key

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

...

When an AS4Message is received by the agent it goes through a series of steps:

  1. Determine the the Receiving Processing Mode that  that must be used to correctly process the incoming message.Each

...

  1. configured Receiving Processing Mode

...

  1.  is inspected and assigned a score.

...

  1.  
    The Receiving Processing Mode

...

  1.  that best matches the

...

  1. received AS4Message

...

  1.  will be used to further process

...

  1. the AS4Message.

...

  1. IMPORTANT:

...

  1. If

...

  1. none

...

  1. of

...

  1. the

...

  1. configured

...

  1. Receiving

...

  1. Processing

...

  1. Modes

...

  1. sufficiently

...

  1. match

...

  1. the

...

  1. received

...

  1. AS4Message,

...

  1. or

...

  1. if

...

  1. it

...

  1. is

...

  1. impossible

...

  1. to

...

  1. select

...

  1. just

...

  1. one

...

  1. matching

...

  1. Receiving

...

  1. Processing

...

  1. Mode

...

  1. ,

...

  1. then

...

  1. the

...

  1. Agent

...

  1. will

...

  1. stop

...

  1. processing

...

  1. the

...

  1. received

...

  1. AS4Message right

...

  1. here

...

  1. since

...

  1. it

...

  1. is

...

  1. not

...

  1. possible

...

  1. to

...

  1. correctly

...

  1. process

...

  1. the

...

  1. message

...

  1. .

  2. When a Receiving Processing Mode is selected, the received message will be validated. The validation consists of the following rules:

    • The SOAP body of the AS4Message should be empty
    • Each ParttInfo element should have an unique href reference to a embedded payload (href that starts with 'cid:')
    • Each included Attachment should reference a PartInfo

  3. After the validation, the included Attachment's (if any) will be decrypted using the information found in the assigned Receiving Processing Mode (decryption algorithm that must be used, the certificate that must be used to decrypt, ...). Decryption only takes place if this is allowed by the pmode: this means that the Decryption option must be set to Required or Allowed.

...

  1.  When the Decryption option is set to Ignored, the received message will not be decrypted. When Decryption is set to NotAllowed the Receive Agent will respond with an Errorsignalmessage if the message is encrypted.

  2. After the message is possibly decrypted, the Agent verifies if the signature (if present) is valid.

    This is only done when the Signature option in the pmode is set to Required or Allowed.

...

  1. In the case of Ignored or NotAllowed the verification will not take place or isn't allowed at all.

...

  1. Note:

...

  1. for

...

  1. incoming

...

  1. Non-Repudiation

...

  1. Receipt's,

...

  1. the

...

  1. Receiving

...

  1. Processing

...

  1. Mode

...

  1. has

...

  1. an

...

  1. option

...

  1. (

...

  1. VerifyNRR)

...

  1. to

...

  1. also

...

  1. verify

...

  1. the

...

  1. included

...

  1. references.


  2. After the signature has been verified, the included Attachments's (if any) will be decompressed.>

    Note: if the incoming message must be forwarded, the attachments will not be decompressed.


  3. Finally, when the message has been successfully processed, the receive agent will create a Receipt signalmessage. This Receipt will be created conforming the settings that can be found in the Receiving Processing mode. (ReceiptHandling.UseNRRFormat to specify if NRI information must be included and the Signing.IsEnabled setting in the responding pmode (which is defined by the ReplyHandling.SendingPMode element)). This Receipt will then be sent to the sender.

...