AS2 Synchronus Empty MDN

Hi Experts,

Am using BizTalk server 2009. I want to receive an AS2 message from my partner and send synchronous MDN. I used two way receive port and configure it as http port. My receive url is /Contoso/BTSHTTPReceive.dll. But my MDN is EMPTY received by my partner. Please help?

Kind Regards,

 

Ram

January 19th, 2012 4:23am

What do you mean by an empty MDN? Does it have any headers on it at all?

If the wrong certificate details are configure for an AS2 party your partner cannot decode/decrypt the message it might look blank. I would make sure your partner has all the certificate details.

Thanks,

Free Windows Admin Tool Kit Click here and download it now
January 19th, 2012 11:35pm

AS2 messages are structured similar to MIME messages.  If you use a utility like Fiddler to monitor the outgoing messages, you can inspect the message that was delivered to your partner.   I included a sample MDN message below for reference, the computed hash is bold and underlined.  Once you have determined the outgoing message is valid or not, it will be easier to isolate the issue.

Additional information from edit:

Although the important part of the MDN is the signed Received-Content-MIC (bold).  There is also text information that is included in an MDN.  I highlighted that part of the message in bold italic underline below for reference.

The structure of an MDN message (unencrypted) is as follows:

AS2-To: PartnerCompanyName
Mime-Version: 1.0
Message-ID: <80BE52B7-0915-423C-8A25-6C4B5F12F633>
AS2-From: MyCompanyName
AS2-Version: 1.1
Content-Length: 3614
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="_E41BAC59-E11A-486B-AC11-0BCA378BFCCE_"
Date: Wed, 14 Feb 2007 22:07:46 GMT
Server: Microsoft-IIS/7.0

--_E41BAC59-E11A-486B-AC11-0BCA378BFCCE_
Content-Type: multipart/report; report-type=disposition-notification;
 boundary="_8F704D39-0A25-427B-83AA-FEE108DC4A81_"

--_8F704D39-0A25-427B-83AA-FEE108DC4A81_
Content-Type: text/plain
Content-Transfer-Encoding: binary
Content-ID: {017F345F-F741-4061-B7CB-4014C884DDB1}
Content-Description: plain

This is an MDN from MyCompanyName.
--_8F704D39-0A25-427B-83AA-FEE108DC4A81_
Content-Type: message/disposition-notification
Content-Transfer-Encoding: 7bit
Content-ID: {24DBD01D-9F37-42B0-AD59-53014B61357F}
Content-Description: body

Final-Recipient: rfc822; PartnerCompanyName
Original-Message-ID: <9FFB5B68-94AC-4A15-8887-EF38157A96E4>
Disposition: automatic-action/MDN-sent-automatically; processed
Received-Content-MIC: uH5VDjcxreFk4xZzk35zDb1IBkw=, sha1

--_8F704D39-0A25-427B-83AA-FEE108DC4A81_--

--_E41BAC59-E11A-486B-AC11-0BCA378BFCCE_
Content-type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIF5jCCBeIw
ggTKoAMCAQICCjp4CIcAAwAAAIwwDQYJKoZIhvcNAQEFBQAwezETMBEGCgmSJomT8ixkARkWA2Nv
bTEZMBcGCgmSJomT8ixkARkWCW1pY3Jvc29mdDEUMBIGCgmSJomT8ixkARkWBGNvcnAxFzAVBgoJ
kiaJk/IsZAEZFgdyZWRtb25kMRowGAYDVQQDExFNaWNyb3NvZnQgRGVtbyBDQTAeFw0wNjEwMjUx
ODM4NDJaFw0xMTA3MjUyMTAzMjlaMIGHMQswCQYDVQQGEwJVUzELMAkGA1UECBMCV0ExEDAOBgNV
BAcTB1JlZG1vbmQxEjAQBgNVBAoTCU1pY3Jvc29mdDEMMAoGA1UECxMDQjJCMRIwEAYDVQQDEwlN
aWNyb3NvZnQxIzAhBgkqhkiG9w0BCQEWFG1vbmFoa0BtaWNyb3NvZnQuY29tMIGfMA0GCSqGSIb3
DQEBAQUAA4GNADCBiQKBgQCke+R09K0IZ/elqjLmnh7nc7e+yP8L/3mQjVgBxVI1NLz9C55YxnnQ
8JlCqDqar7/hpdrnvVS4X/Ewsrq4xQFdC6MNpff7TYpx2tiKaEZqIepthIPvh5nRx5asK307X9e8
cF/s7EXYxomen6wm3KIsZomdqmT/XQjUfNBDemAL5wIDAQABo4IC3TCCAtkwDgYDVR0PAQH/BAQD
AgTwMEQGCSqGSIb3DQEJDwQ3MDUwDgYIKoZIhvcNAwICAgCAMA4G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RkGzryvgVrmehKgW6cI4ASekD7paupMx
6iHlU2AdZd9eKFenRAh1QBApECrcArYzjN8dEkU4N5qF5kFNA3Drgj9etHXePeEoGNhA/hNukepM
nlZcVJqpSPuWTAN6i6eiZyLxnVCI5OZlZqymTovYi6M55BO8TC1ufu1/3NJboqL4ofHbvBMPn+AB
sssq/xKdO+01N9cbDXLB9DZ8f/EOe0cxggEwMIIBLAIBATCBiTB7MRMwEQYKCZImiZPyLGQBGRYD
Y29tMRkwFwYKCZImiZPyLGQBGRYJbWljcm9zb2Z0MRQwEgYKCZImiZPyLGQBGRYEY29ycDEXMBUG
CgmSJomT8ixkARkWB3JlZG1vbmQxGjAYBgNVBAMTEU1pY3Jvc29mdCBEZW1vIENBAgo6eAiHAAMA
AACMMAkGBSsOAwIaBQAwDQYJKoZIhvcNAQEBBQAEgYCjoDdO0PgX9zsKCpqfeXdCI+0XKw6Tomzv
A6sZQISW13QOLc0kHlMgrC5YZGkHjFbAzUgGALYF77u9ImQiT51p6RabcnQG8E2fuhFxxcKUvx0e
dzClXsm0jicEc91+hO29gy0PNKbmcBSVFzgTliNco+jQcuvCcy0PCgKaaI1NCwAAAAAAAA==

--_E41BAC59-E11A-486B-AC11-0BCA378BFCCE_-

January 22nd, 2012 1:54am

Hi Ben,

 

Thanks for your quick responce,

 

While the MDN message triggers automatically from my system to partner system it was going without header and it seems to be empty page.

 

please advaice me if i have to configure any aditional set-up for this AS2 Synchronous MDN.

 

Kind Regards,

 

Ram.

Free Windows Admin Tool Kit Click here and download it now
January 25th, 2012 9:05am

As advised earlier by experts above...install Fiddler or WireShark and trap the Packets that go out which will show you the MDN in a MIME format but the header is readable.

To make sure verify the AS2-To and AS2-From properties are configured for the Party as a received of the AS2 Traffic. Also make sure you are using AS2-Send pipeline in the Send Port. Lastly make sure you are using your Home Key to sign the AS2 document and Encrypot using Partners Public key.

January 26th, 2012 5:25pm

See this walkthrough :

http://64.4.10.89/en-us/library/bb743306%28v=bts.10%29.aspx

 

Might be helpful to you!

Free Windows Admin Tool Kit Click here and download it now
January 28th, 2012 4:18pm

Hi Ram

Is this resolved now ? if yes , could you explain .

Thanks.

March 14th, 2012 4:13pm

hi did you find an answer to this , i am facing exact same problem . 

blank synchronous MDN response going back to client. 


Free Windows Admin Tool Kit Click here and download it now
July 24th, 2015 2:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics