IPWorks EDI 2020 Node.js Edition

Questions / Feedback?

CEMResponse Event

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

Syntax

as2receiver.on('CEMResponse', [callback])

Callback

The 'callback' is called when the 'CEMResponse' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.requestId
e.as2From

Remarks

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

RequestId is the CEM request Id. Match this to the request Id from the original request.

As2From identifies the sender of the CEM request.

When this event fires the CEMDetails property will be populated. Inspect the CEMAccepted property to determine whether each CEM request was accepted. If the request was rejected, check CEMRejectionReason for details.

When this event fires the following CEMDetails properties are applicable:

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Node.js Edition - Version 20.0 [Build 8203]