EDI Integrator 2016 .NET Edition
EDI Integrator 2016 .NET Edition
Questions / Feedback?

CEMRequest Event

Fired when a Certificate Exchange Messaging (CEM) request is received.

Syntax

[VB.NET]
Public Event OnCEMRequest As OnCEMRequestHandler
[C#]
public event OnCEMRequestHandler OnCEMRequest;

public delegate void OnCEMRequestHandler(object sender, As2receiverCEMRequestEventArgs e);

class As2receiverCEMRequestEventArgs : EventArgs {
  string RequestId {get;}
  string As2From {get;}
}

Remarks

This event fires when a Certificate Exchange Messaging (CEM) request is received.

RequestId is the CEM request Id. This must be saved and will be used when sending the CEM response.

As2From identifies the sender of the CEM request.

If CEMCertDir is set the received certificates will be written to the specified location. If CEMCertDir is not set the certificates will be held in memory and may be accessed by inspecting CEMDetails.

The CEM request also populates RespondByDate and ResponseURL. RespondByDate specifies the date by which the sender expects a response. ResponseURL specifies the URL to which the CEM response should be sent.

When this event fires the following CEMDetails fields are applicable:

To send a CEM response save the CEMDetails values and call SendCEMResponse with the AS2Sender component.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
EDI Integrator 2016 .NET Edition - Version 16.0 [Build 7362]