用于AS2 EDI通信的.net客户端

时间:2016-05-13 08:40:15

标签: c# .net public-key-encryption sign edi

我必须准备客户端应用程序(c#)以通过AS2发送EDI消息。说实话,我们的客户无法控制通信,只能看到正确发送的EDI消息。 我尝试了不同的解决方案和库来测试它,如http://www.edidev.com/example_edi_transmission.htmlhttps://mattfrear.com/2010/07/13/send-as2-with-dotnet/和其他,但它们都不适用于客户AS2提供商。我认为AS 2提供商的支持会对我有所帮助,但是现在它不起作用。 我找到了一个测试AS2服务器,它满足了我进行测试的需要(设置与AS2提供商相同),但是请求列表中没有显示已发送的请求。我的生产要求::

  • 加密 - 使用XXXX.cer进行3DES
  • 签署 - 带YYYY.cer的SHA1
  • Mdm模式 - 同步
  • 签署MDN - 是

到目前为止,我的消息不会抛出错误(但也不起作用),如下所示:

MIME-Version: 1.0
Date: Thu, 12 May 2016 09:40:14 -0060
Content-Type: application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m
Content-Disposition: attachment; filename=smime.p7m
Content-Transfer-Encoding: binary
Message-ID: person@company.com
AS2-Version: 1.0
AS2-To: xxxx
AS2-From: yyyyy
Disposition-Notification-To: <person@company.com>

xxxxxxxxxxxxxxxxxxxx signed and encrypted data xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

有没有人做过这种沟通。任何建议,图书馆(开源),mime params需要指定,文档?我失去了大约一个星期没有任何进展。我将不胜感激任何帮助:)

0 个答案:

没有答案