IPWorks EDI 2020 Python Edition

Questions / Feedback?

on_cem_response Event

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

Syntax

class AS2ReceiverCEMResponseEventParams(object):
  @property
  def request_id() -> str: ...
  @property
  def as_2_from() -> str: ...

# In class AS2Receiver:
@property
def on_cem_response() -> Callable[[AS2ReceiverCEMResponseEventParams], None]: ...
@on_cem_response.setter
def on_cem_response(event_hook: Callable[[AS2ReceiverCEMResponseEventParams], None]) -> None: ...

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 cem_details property will be populated. Inspect the cem_accepted property to determine whether each CEM request was accepted. If the request was rejected, check cem_rejection_reason for details.

When this event fires the following cem_details properties are applicable:

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