0

I'm trying to migrate AS2 BizTalk implementation to Azure iPaaS and I want to avoid the usage of integration account.

I referred below blogs to receive and send AS2 message but not able make much progress.

https://mattfrear.com/2010/07/13/send-as2-with-dotnet/

https://mattfrear.com/2011/01/03/receiving-as2-messages-with-net/

Any help much appreciated.

I added the repo link for Azure Functions https://github.com/gitdj/AS2IPaasFunc/blob/main/FunctionAppAS2

Here's exception message: enter image description here

Here's working solution with Logic App with Integration Account enter image description here

Danny J
  • 1
  • 1
  • What have you tried? What issue are you having? – Dijkgraaf Sep 30 '22 at 02:14
  • I get an exception "asn1 bad tag value met" when decrypting the message. – Danny J Sep 30 '22 at 08:06
  • Can you [edit] your question and add both that error message, and a some code that reproduces that error? – Dijkgraaf Oct 01 '22 at 22:38
  • Quick update: I'm able perform as2encoding and as2decoding with Azure Function Apps. I did few tweaks to mattfrear code (used C# built-In libraries) and understood how BizTalk decodes the as2 message using AS2Decode BizTalk Pipeline component. Currently, AS2Decoder Function is capable of decoding the signed & encrypted messages and constructs the MDN. AS2Encoder does support Signing and Encryption – Danny J Oct 10 '22 at 11:35
  • I used mimekit in my as2receiver, as it can handle different content transfer encodings. Also mimekit comes in handy to process the mdn thanks to the class MultipartReport. As for the sender, I used MultipartContent to generate the message. – bgman Oct 15 '22 at 21:46

0 Answers0