Layer7 API Management

 View Only
  • 1.  how to configure AS2 Attach MDN Tactical Assertion

    Posted Jun 07, 2017 01:04 AM

    Hi All,

     

    We have a requirement where partners send EDI messages from AS2 client to Layer7 Gateway further request will be sent to SAP PI service. I have created policy with http routing assertion to route AS2 client request to SAP PI and added attach MDN assertion in same policy to send MDN response back to AS2 client. 

     

    While testing from Mendelson AS2 client, request sent to SAP PI but MDN is not attached to the response.

     

    Could you please let us know how to configure attach MDN assertion, how to provide values for Message ID, MIC Algorithm and Harsh Value, do we have any layer7 provided variables for this, if not please suggest how to provide values for these parameters in Layer7.

     

    Regards,

    Rathnakar



  • 2.  Re: how to configure AS2 Attach MDN Tactical Assertion
    Best Answer

    Posted Sep 19, 2017 02:34 PM
      |   view attached

    Hello Rathnakar, 

     

    Have you tried using the Calculate Hash assertion to calculate the hash value? This assertion sets an output context variable, such as "<outputVariableName>", which contains the hash value. The "<outputVariableName>.algorithm" context variable contains the MIC algorithm.  The message ID is the message ID of the AS/2 request message. This is usually part of the http request header:  ${request.http.header.message-id}. 

     

    I am also attaching the user documentation for you to view as it might be helpful answering any further questions.

     

    Regards, 

     

    Nakisa Shafiee

    Attachment(s)