Error "AS2ServerRemoteImpl: 1 >= 1"

pkoch

I am posting a message to a m-e-c AS2 server from a Java client. I get the following error message:

[4:07:05 PM] mec_as2-1213020425835-9@As2Server_SAPBC: Synchronous MDN sent as answer to message 4869838.1213020425789.JavaMail.PhilipK@1JCTBUS02.
[4:07:22 PM] Keys and certificates loaded from "C:\mec\as2\certificates.p12".
[4:07:33 PM] 5189038.1213020453226.JavaMail.PhilipK@1JCTBUS02: Incoming transmission is a AS2 message, raw message size: 3.00 KB.
[4:07:33 PM] 5189038.1213020453226.JavaMail.PhilipK@1JCTBUS02: AS2 message is not encrypted.
[4:07:33 PM] 5189038.1213020453226.JavaMail.PhilipK@1JCTBUS02: AS2 message is signed.
[4:07:33 PM] 5189038.1213020453226.JavaMail.PhilipK@1JCTBUS02: The sender used the algorithm SHA1 to sign the message.
[4:07:33 PM] 5189038.1213020453226.JavaMail.PhilipK@1JCTBUS02: Using certificate "integration.avi.co.za (thawte premium server ca)" to verify signature.
[4:07:33 PM] 5189038.1213020453226.JavaMail.PhilipK@1JCTBUS02: Digital signature verified successful.
[4:07:33 PM] AS2ServerRemoteImpl: 1 >= 1

Please can you assist?

Regards
Philip



heller
heller's picture
Philip,

Philip,

this looks like a message structure problem. The AS2 message parser is not able to extract the body part(s). Could you please send me the message (unencrypted)? Which product is on the other side?

Regards
Heller



Angelof
AS2ServerRemoteImpl:...

Our partner uses the "IP*Works! V6" AS2 adaptor.
We used Basic authentication over Https url for testing and when they send a file to us("m-e-c AS2 "), we get this error,

[11:58:46 AM] 1518924:1702627:2ed772cd_11b52fbed94_-6823@axis.mincom.com: Incoming transmission is a AS2 message, raw message size: 11.00 KB.
[11:58:46 AM] 1518924:1702627:2ed772cd_11b52fbed94_-6823@axis.mincom.com: AS2 message is encrypted.
[11:58:46 AM] 1518924:1702627:2ed772cd_11b52fbed94_-6823@axis.mincom.com: The data has been decrypted using the key "dev-srv03.ip3systems.com".
[11:58:46 AM] 1518924:1702627:2ed772cd_11b52fbed94_-6823@axis.mincom.com: AS2 message is signed.
[11:58:46 AM] 1518924:1702627:2ed772cd_11b52fbed94_-6823@axis.mincom.com: The sender used the algorithm SHA1 to sign the message.
[11:58:46 AM] 1518924:1702627:2ed772cd_11b52fbed94_-6823@axis.mincom.com: Using certificate "Client.axistest.mincom.com (thawte premium server ca)" to verify signature.
[11:58:46 AM] 1518924:1702627:2ed772cd_11b52fbed94_-6823@axis.mincom.com: Digital signature verified successful.
[11:58:46 AM] AS2ServerRemoteImpl: C:\mec\as2\messages\DevSrv03Ip3\inbox\pending\1518924:1702627:2ed772cd_11b52fbed94_-6823@axis.mincom.com (The filename, directory name, or volume label syntax is incorrect)
[12:23:19 PM] 1518910:1702616:2ed772cd_11b52fbed94_-6839@axis.mincom.com: Wait time for MDN expired.

What we receive is a file with a garbage content.
When we send the same file between 2 m-e-c servers the file's content is decrypted properly.

following is the header, m-e-c adaptor get from the partner,

user-agent = IP*Works! V6 EDI Component - www.nsoftware.com
as2-from = 9377778020419
content-disposition = attachment; filename="smime.p7m"
connection = close
authorization = Basic YXMyZ3Vlc3Q6aXAz
host = srv03.3systems.com
date = Wed, 06 Aug 2008 07:30:18 GMT
as2-to = Srv03AS2
as2-version = 1.1
content-type = application/pkcs7-mime; smime-type=enveloped-data; name="smime.p7m"
content-length = 11338
message-id = <1519364:1703071:11b96e58d36015dc7f488d4ffa6bb34a882@axis.mincom.com>
subject = document number PurchaseOrder

This header is slightly different from the one received when the same file is sent between 2 m-e-c adaptors.

Could you please show me the way to solve this issue?
Best regards,
Angelo



heller
heller's picture
Angelo, I think the error

Angelo,

I think the error message is The filename, directory name, or volume label syntax is incorrect.

The message is stored under a file with the same name as the the message id. If there is a colon in it (your message id is
1518924:1702627:2ed772cd_11b52fbed94_-6823@axis.mincom.com) this will lead to this problem.

We will fix this in the next release and replace chars in the filename created from the message id that are not valid for the filesystem.

Is there a way in the senders AS2 system to set the structure of the message id?

Regards
Heller



Angelof
"The filename, ...label syntax is incorrect" error

Hi Heller,

Thank you very much for the prompt reply.
I will try to ask from the partner whether it is possible for them to change the message id format; happening this has only a slight chance.
By the way, when is the next release due?
What is the exact file/place of code we have to change inorder to achieve a solution?

Kind regards,
Angelo



heller
heller's picture
MessageStoreHandler

Angelof wrote:

By the way, when is the next release due?

We have no release date for the build 25 so far but mainly we release a new version every 3 to 4 month (if there are enough changes).

Angelof wrote:

What is the exact file/place of code we have to change inorder to achieve a solution?

Its the class de.mendelson.comm.as2.message.store.MessageStoreHandler

Regards
Heller




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