Nubridges Commerce Suite Server

behroozi

The mdns we get back from build 21 aren't compatible with nubridges commerce suite server

http://www.nubridges.com/products/connectivity/as1/

We see the following error in the logs.

2008.02.15 13:23:14:564 3939585920 PHDR ERR No boundary parameter found in content-type header

You probably need to add the boundary type parameter to the Content-Type header.

Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="nuBridges1BouNdary1nuBridges"

And delineate the parts of the mdn with whatever you set the boundary to.



heller
heller's picture
behroozi, Could you please

behroozi,

Could you please send me a MDN that the system could process to sh at mendelson dot de? I will analyse it to see what happended.

Regards
Heller



behroozi
Examples have been sent

I have sent some examples.



heller
heller's picture
hmm sorry, I did not receive

hmm sorry, I did not receive anything so far, could you please try it again?

Regards
Heller



behroozi
Examples have been sent again

I've resent the examples, let me know if you haven't received them.



heller
heller's picture
behroozi, no, not so far.

behroozi,

no, not so far. Are you sending them to sh at mendelson dot de?

Regards
Heller



behroozi
Yes

Yes, I'm sending them from my gmail account. In order to not waste anymore time, I have masked the sender and receiver ids and other identifiable information. Let me know if you need more information.

POST / HTTP/1.0

User-Agent: Mozilla/4.0 [en] (WinNT; I)

Accept: image/gif, */*

Host: as2.RECEIVER.com:4080

Content-type: multipart/signed; micalg=sha1;
protocol="application/pkcs7-signature";
boundary="----=_Part_2760_26037217.1203431271509"

AS2-From: SENDER

AS2-To: RECEIVER

AS2-Version: 1.1

Message-ID: <19826723.33541203431271509.JavaMail.WMAdmin@xxxxxx>

Content-Length: 2062

Connection: Keep-Alive

X-Forwarded-For: XXX.XXX.XXX.XXX

------=_Part_2760_26037217.1203431271509

Content-Type: multipart/report; Report-Type=disposition-notification;

boundary="----=_Part_2759_1013264.1203431271477"

------=_Part_2759_1013264.1203431271477

Content-Type: text/plain

Content-Transfer-Encoding: 7bit

MDN for -

Message ID: <8500c908-5852-4a1f-9315-435b44e1a10d>

From: RECEIVER

To: SENDER

Received on: 2008-02-19 at 09:27:51 (EST)

Status: processed

Comment: This is not a guarantee that the message has been completely
processed or understood by the receiving translator

------=_Part_2759_1013264.1203431271477

Content-Type: message/disposition-notification

Content-Transfer-Encoding: 7bit

Reporting-UA: webMethods Integration Server

Original-Recipient: rfc822; SENDER

Final-Recipient: rfc822; SENDER

Original-Message-ID: <8500c908-5852-4a1f-9315-435b44e1a10d>

Received-content-MIC: d8HTfBVAD7NhR2cdk90GTaSGeBw=, sha1

Disposition: automatic-action/MDN-sent-automatically; processed

------=_Part_2759_1013264.1203431271477--

------=_Part_2760_26037217.1203431271509

Content-Type: application/pkcs7-signature; name=smime.p7s

Content-Transfer-Encoding: base64

Content-Disposition: attachment; filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAMYICDDCCAggC

AQEwgbEwgaIxIzAhBgkqhkiG9w0BCQEWFHNlY3VyZUBwcm9naXN0aXguY29tMQswCQYDVQQGEwJD

QTEQMA4GA1UECBMHT250YXJpbzETMBEGA1UEBxMKTm9ydGggWW9yazEcMBoGA1UEChMTUHJvZ2lz

dGl4IFNvbHV0aW9uczERMA8GA1UECxMIU2VjdXJpdHkxFjAUBgNVBAMTDVBST0dJU1RJWC5DT00C

CmGs1VcAAQAAACEwCQYFKw4DAhoFAKCBsTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqG

SIb3DQEJBTEPFw0wODAyMTkxNDI3NTFaMCMGCSqGSIb3DQEJBDEWBBQTfb54PgqQDj6aRbX+Bkv7

mzsvwjBSBgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG

9w0DAgIBQDANBggqhkiG9w0DAgIBKDAHBgUrDgMCBzANBgkqhkiG9w0BAQEFAASBgK3EO8tX3zhH

3ClZx8y6wJ3Skg6iF0avuLN/zxJMxJk8USnej2kDJOZuy3pckRmIjxgQYWFg7ygueUY2eJ9/o3/k

bjt7a8jTpKkpS8nTW5XhhlvMKnq7UmCRRqyIxlDsA/gLqZXnh7WcocfaD7VlArTw+jbikvogribW

fVVpkWLLAAAAAAAA

------=_Part_2760_26037217.1203431271509--

And another one

POST / HTTP/1.0
Host: as2.receiver.com
User-Agent: IP*Works! V5 HTTP/S Component - by /n software -
www.nsoftware.com
Content-Type: multipart/signed; protocol="application/pkcs7-signature";
micalg=sha1; boundary="4CFf/LXEct87kYasBw8w"
AS2-From: sender
AS2-To: receiver
Recipient-Address: http://as2.receiver.com:4080/
From: sender
To: receiver
Date: Tue, 19 Feb 2008 08:40:06
Subject: Message Disposition Notification
Content-Description: S/MIME Cryptographic Message
Content-Disposition: attachment
Message-ID:
Content-Length: 3121
Connection: Keep-Alive
X-Forwarded-For: XXX.XXX.XXX.XXX

--4CFf/LXEct87kYasBw8w
Content-Type: multipart/report; report-type=disposition-notification;
boundary="Hw2gQkDvJZfaPAhrAm5j"

--Hw2gQkDvJZfaPAhrAm5j
Content-Type: text/plain

The message sent on Tue, 19 Feb 2008 14:40:04 GMT
from [receiver] to [rfc822;sender]
with subject [EDIINTDATA Batch [14823899051]] and
message ID of [dd970fad-9047-40b6-91e8-817d69fe42c7]
has been [processed].

This is not a guarantee that the EDI message has been completely
processed or understood by the receiving translator.

This return message was generated on Tue, 19 Feb 2008 08:40:06

--Hw2gQkDvJZfaPAhrAm5j
Content-Type: message/disposition-notification

Reporting-UA: ec.sender.com ; KSMime 2.0
Original-Recipient: rfc822;sender
Final-Recipient: rfc822;sender
Original-Message-ID:
Disposition: automatic-action/MDN-sent-automatically; processed
Received-Content-MIC: 11Ce9kxbCnYACyrtRrheeawHVuY=, sha1

--Hw2gQkDvJZfaPAhrAm5j--
--4CFf/LXEct87kYasBw8w
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature; name=smime.p7s
Content-Disposition: attachment; filename=smime.p7s

MIIFWQYJKoZIhvcNAQcCoIIFSjCCBUYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
AxswggMXMIICgKADAgECAggnskGhVbed+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ELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRIwEAYDVQQHEwlEZWVyZmll
bGQxGTAXBgNVBAoTEEtsZWluc2NobWlkdCBJbmMxJDAiBgNVBAsTG0tsZWluc2NobWlkdCBJ
bmMgRUMgR2F0ZXdheTEUMBIGA1UEAxMLU01JTUUgRURJIDECCCeyQaFVt536MAkGBSsOAwIa
BQCggcQwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwMjE5
MTQ0MDA4WjAjBgkqhkiG9w0BCQQxFgQUmk2vOPlQ9HY8LwtHvpi2ukZxUSkwZQYJKoZIhvcN
AQkPMVgwVjAKBggqhkiG9w0DBzALBglghkgBZQMEAQIwDwYJKoZIhvZ9B0IKAgIAgDANBgsr
BgEEAYE8BwEBAjAOBggqhkiG9w0DAgICAIAwCwYJYIZIAWUCAQEEMA0GCSqGSIb3DQEBAQUA
BIGAeKm519AsKGhrErPhBfAQXsWs3LJQ4MVW4Q8l6DfGFNdwY/n6swRZpfPOfnGwwFw9/wA0
iLINYBvAkHhrzrc/RiOzSOZD6bAzRp8wCXdT5uRwJ1//cY2Sz2bQxsXt5LldSgetGa3COTO1
O2K7zApdccCX/hhhNunN4pG2+xtoeAg=

--4CFf/LXEct87kYasBw8w--

And another one

POST /exchange/RECEIVER HTTP/1.0
Authorization: Basic QU1BWk9OOlhYWFhY
AS2-To: RECEIVER
AS2-From: SENDER

AS2-Version: 1.1
Date: Tue, 19 Feb 2008 02:45:06 GMT
Message-ID:
Subject: Signed Message Disposition Notification
Content-Type:
multipart/signed;protocol="application/pkcs7-signature";micalg=sha1;boundary="_=33245471998788667Sterling33245471998788667MOKO"
Content-Length: 1781
Host: as2.sender.com:49203
Connection: Keep-Alive
X-Forwarded-For: XXX.XXX.XXX.XXX

--_=33245471998788667Sterling33245471998788667MOKO
Content-Type:
multipart/report;Report-Type=disposition-notification;boundary="_=10398093003336084Sterling10398093003336084MOKO"

--_=10398093003336084Sterling10398093003336084MOKO

Your message was successfully received and processed.

--_=10398093003336084Sterling10398093003336084MOKO
Content-Type: message/disposition-notification

Original-Recipient: rfc822;SENDER
Original-Message-ID: <3dd41a96-dd3f-409d-8edd-b0294dc466b6>
Received-Content-MIC: EY7/1SXTZZCaNA3adu9O7NqjrAI=,sha1
Disposition: Automatic-action/mdn-sent-automatically;processed

--_=10398093003336084Sterling10398093003336084MOKO--

--_=33245471998788667Sterling33245471998788667MOKO
Content-Type: Application/pkcs7-signature;name=EDIINTSIG.p7s
binary data

--_=33245471998788667Sterling33245471998788667MOKO--

Here is the one sent by mec-as2. I don't have the headers.

Content-Type: multipart/report; report-type=disposition-notification;
boundary="----=_Part_3_3482293.1203110593850"

------=_Part_3_3482293.1203110593850
Content-type: text/plain
Content-Transfer-Encoding: 7bit

AS2 message received.
------=_Part_3_3482293.1203110593850
Content-type: message/disposition-notification
Content-Transfer-Encoding: 7bit

Reporting-UA: m-e-c as2
Original-Recipient: rfc822; sender
Final-Recipient: rfc822; sender
Original-Message-ID: <2008021513231463246E66@receiver>
Disposition: automatic-action/MDN-sent-automatically; processed
Received-Content-MIC: 1KCll+fHLVqqKt/uWA41v+K1+g8=, sha1

------=_Part_3_3482293.1203110593850--



heller
heller's picture
behroozi, thanks, I will

behroozi,

thanks, I will have a look at it.

Regards
Heller



heller
heller's picture
behroozi, The difference

behroozi,

The difference seems to be the TAB char in front of the boundary parameter. Could you please try to use java mail 1.4.1 in both cases (sender and receiver), there are hints in several forums that this should fix the problem?

Please download the version here:

http://java.sun.com/products/javamail/

Anyway we will include javamail 1.4.1 into the next version of m-e-c as2. We haven't done this before because javamail 1.4.0 had some problems with the base64 encoder and we were not sure so far if this has been fixed in 1.4.1.

Please keep me up to date if this fixes the problem.

Regards
Heller



behroozi
Ok

Interesting, I'll pass that information along to the company we are trying to integrate with and get them to upgrade the jar.



behroozi
It works!

I installed an instance of mec-as2 on my desktop, used the updated jars and it works successfully now. Any estimates on when a new build will be out with these new jars?

Thanks!

-David



heller
heller's picture
behroozi, Normally we

behroozi,

Normally we release all 3-4 month a new release. The border problem seems to be a problem that only occurs with the Nubridges Commerce Suite Server, we had no other reporting about this with other systems so far.
We will include javamail 1.4.1 into the nex release.

Regards
Heller



licht
not resolved

i've updated the jars, but the TAB ist still in the MDN and the nubridges commerce suite server does not like that:

Regards
Licht


Content-Type: multipart/report; report-type=disposition-notification;
"TAB" boundary="----=_Part_7_5120963.1204827502029"

------=_Part_7_5120963.1204827502029
Content-type: text/plain
Content-Transfer-Encoding: 7bit

AS2 message received.
------=_Part_7_5120963.1204827502029
Content-type: message/disposition-notification
Content-Transfer-Encoding: 7bit

Reporting-UA: m-e-c as2
Original-Recipient: rfc822; partner
Final-Recipient: rfc822; partner
Original-Message-ID: <200803061018210CDC4896@firm>
Disposition: automatic-action/MDN-sent-automatically; processed
Received-Content-MIC: 1KCll+fHLVqqKt/uWA41v+K1+g8=, sha1

------=_Part_7_5120963.1204827502029--



heller
heller's picture
licht, This tab is ok, it

licht,

This tab is ok, it shouldn't be a problem. Have you changed the mail jar for the nubridges commerce suite, too?
If you are running m-e-c as2 under windows, have you modified the .lax file to add the new jar to the classpath?

Regards
Heller



beckenrod
Same problem here

heller,

I have the same issue when I send a file from Websphere Partner Gateway to m-e-c as2 and ask for a sync MDN.

Partner Gateway chokes on the tab before the boundary entry. I get a string out of bounds error which makes the connection fail. Partner gateway then tries to send the same transmission again because of the failure.

Strangely though this does NOT happen on async MDNs from m-e-c.



heller
heller's picture
beckenrod, is there a way

beckenrod,

is there a way for us to get access to such a system to have a debug possibility? Please contact me at sh at mendelson dot de if something like this is possible.

Regards
Heller



heller
heller's picture
Just for your information on

Just for your information on this issue:
Beckenrod and me had some compatibility tests between his system and m-e-c as2. The problem seems to be the header folding at the "Content-Type" header (which includes the boundary) of m-e-c as2. Non-folded headers will be available in the next release of m-e-c as2.

Regards
Heller




© 1999-2007 mendelson-e-commerce GmbH. All right reserved.