none
AS2 Receive and Send Locations for MDN and EDI RRS feed

  • Question

  • Dear all

    I have an AS2 Send and Receive  location based on Static Solicit-Response.

    I am sending and  AS2  based Order msg to  (https://partner.com/myPartner/)

    and receiving the MDN via https://localhost/myPartner/

    Now the partner is Sending another Status Order-Resposnse via the same MDN receive location https://localhost/myPartner/ and I need to Return an MDN.

    How can I handle or route or Identifiy this different messages?

    Do I need to setup different receive location for MDN and EDI

    Thanks in Advance


    AKE

    Friday, July 6, 2012 5:43 AM

Answers

  • If the partner is Drummond certified, they must be able to send asynchronous MDNs.  This may however be a security requirement on their part.

    From my understanding you have the following message exchange:

    BizTalk -- Order Message --- AS2 Request ---> Partner

    BizTalk <-- MDN Response (same HTTP Connection as above [synchronous MDN]) --- Partner

    BizTalk <-- Order Response Message (same HTTP Connection) --- Partner

    Take a look at page 19 of the AS2 rfc http://www.ietf.org/rfc/rfc4130.txt which explains the MDN processing flow.

    Is that correct?


    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.


    Tuesday, July 10, 2012 1:51 PM

All replies

  • Could you clarify something, please?
    You have static solisit-response send port... so a synchronous MDN is received.
    Or do you also have a separate HTTP receive location? (so asynchronous MDN)?

    When the last one is your case (asynchronous MDN), I would advice a different receive location for the messages an the MDN's.
    However, receieving them at the same place would be possible, and do your routing/identifying and logic inside an orchestration.

    But again... I would certainly recommend using separate receive locations if possible.
    • Edited by mitchke Friday, July 6, 2012 1:50 PM
    Friday, July 6, 2012 1:37 PM
  • I would suggest make multiple receive location as per your requirement that is good for your development and administration work.

    Thanks, Raja MCTS BizTalk Server 2010, MCC If this answers your question please mark it accordingly

    Friday, July 6, 2012 5:01 PM
  • Messages processed by the AS2 pipeline component will mark MDN messages by setting the context property "IsAS2MdnResponseMessage" to true.  You should be able to either route or process the messages by checking this property.


    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

    Monday, July 9, 2012 4:51 AM
  • Hi Mitchke

    Yes I have static solisit-response send port... so a synchronous MDN is received.

    Can I use another virtural directory/address to receive this MDN.?

    Insteady of the one I used to send it?


    AKE

    Tuesday, July 10, 2012 1:18 PM
  • You can configure AS2 to request MDN delivery asynchronously.  The AS2 settings provide a flag indicating asynchronous MDN and the HTTP uri which should be used for delivery.  Your partner's AS2 processor will look for the HTTP Header "Receipt-Delivery-Option: url" and if it exists, will deliver the MDN using the url from the header.

    The following tutorial may help: http://msdn.microsoft.com/en-us/library/bb743507


    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.



    Tuesday, July 10, 2012 1:24 PM
  • Hi David

    The partner system requires Sync.

    Hence the this need.. I thinking it might not be possible to achive this


    AKE

    Tuesday, July 10, 2012 1:38 PM
  • If the partner is Drummond certified, they must be able to send asynchronous MDNs.  This may however be a security requirement on their part.

    From my understanding you have the following message exchange:

    BizTalk -- Order Message --- AS2 Request ---> Partner

    BizTalk <-- MDN Response (same HTTP Connection as above [synchronous MDN]) --- Partner

    BizTalk <-- Order Response Message (same HTTP Connection) --- Partner

    Take a look at page 19 of the AS2 rfc http://www.ietf.org/rfc/rfc4130.txt which explains the MDN processing flow.

    Is that correct?


    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.


    Tuesday, July 10, 2012 1:51 PM
  • Yes.

    I am just woundering ..If I need the same http address or Virtual location to receive the Order Response

    The Order Message works fine. But I just woundering about the technicality of the Order Response,

    given the same Virtual http connection


    AKE

    Tuesday, July 10, 2012 1:54 PM
  • If you can have the outbound AS2 messages sent on a different HTTP connection from the inbound AS2 messages managing your AS2 and EDI might be more efficient.  Can you provide an HTTP receive location that is dedicated to receiving the responses and provide this to your partner?  Are they willing to use a separate HTTP connection?


    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.


    Tuesday, July 10, 2012 1:59 PM