none
Missing mime header in MDN RRS feed

  • Question

  • I am sending an AS2 packet to my partner and receive an MDN as follows:

    ------=_Part_51_12191035.1306185646881
    Content-Type: multipart/report; report-type=disposition-notification;
     boundary="----=_Part_50_6073943.1306185646879"
    -------- other parts one of it containing messageid and receipt date----
    ------=_Part_51_12191035.1306185646881--

    Now I want to extract some information like the message id and receipt date from one of the body part in  the MDN. So I planned to use Mime decoder to extract the exact body part and then pull out those information. But the MDN doesnt have any header and hence BizTalk cracks out saying mime message is invalid.

    I tried to process using AllowNonMime message. but still didnt work. I expect the MDN has an header as follows in the begining:

    Content-Type:multipart/report; report-type=disposition-notification;  boundary="----=_Part_51_12191035.1306185646881"
    MIME-Version:1.0
    ------=_Part_51_12191035.1306185646881
    and so onnn..

    Why is my MDN missing the mime header. How do I get that mime header in the MDN. I tried the 'Unfold Http Headers' in the agreement. But didnt work for me. Am i missing some more configuration? Please let me know.

    Thanks for your advice.


    Thanks and Regards, Vikram
    Tuesday, May 24, 2011 2:09 PM

Answers

  • Hi,  maybe you don't need to access the body part at all. You already have lots of info in the headers (InboundHttpHeaders), such as message id and date..

    message-id: <askdhkasdhh>
    as2-to: xxx
    as2-from: xxx
    as2-version: 1.2
    ediint-features: multiple-attachments, CEM
    MIME-Version: 1.0
    Connection: close
    Content-Length: 4389
    Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1;  boundary="----=_Part_43_2449209.1306784752245"
    Date: Mon, 30 May 2011 15:45:52 EDT
    Server: xxx

    You can find further info at http://msdn.microsoft.com/en-us/library/bb259985%28v=bts.10%29.aspx

    Regards.

     


    C#/BizTalk 2010 Developer

    Monday, May 30, 2011 8:43 PM