CEMResponse Event

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

Syntax

ANSI (Cross Platform)
virtual int FireCEMResponse(AS2ReceiverCEMResponseEventParams *e);
typedef struct {
const char *RequestId;
const char *As2From; int reserved; } AS2ReceiverCEMResponseEventParams; Unicode (Windows) virtual INT FireCEMResponse(AS2ReceiverCEMResponseEventParams *e);
typedef struct {
LPCWSTR RequestId;
LPCWSTR As2From; INT reserved; } AS2ReceiverCEMResponseEventParams;
- (void)onCEMResponse:(NSString*)requestId :(NSString*)as2From;
#define EID_AS2RECEIVER_CEMRESPONSE 2

virtual INT IPWORKSEDI_CALL FireCEMResponse(LPSTR &lpszRequestId, LPSTR &lpszAs2From);

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 C++ Edition - Version 20.0 [Build 8203]