BizTalk AS2: asynchronous MDN error with 202 Accepted

When integrating with GXS OpenText, I recently encountered an issue with an AS2 setup.

Setup

  • You receive an inbound message over AS2.
  • The AS2 client is setup to receive an asynchronous MDN regardless of the use of a encryption/signing or compression.
  •  You’ve setup a two-way send port to send out the asynchronous MDN.
  • The two-way send port uses AS2Send and AS2Receive pipelines.

With this setup, we encountered the following AS2 error:

An output message of the component “Microsoft.BizTalk.EdiInt.PipelineComponents” in receive pipeline “Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Receive, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” is suspended due to the following error:
An AS2 message was received that did not contain the AS2-From header..
The sequence number of the suspended message is 2.

Continue reading

Advertisements

Crazy BizTalk is dead, long live Crazy BizTalk

A couple of months ago Glenn Colpaert & myself, both colleagues at Codit, announced that we both were “the brains” behind the CrazyBizTalk Twitter account.

Since then we’ve been receiving very positive feedback and lots of people have asked us to continue. Although it is tempting to continue with the account, we feel people may become biased by what we think is funny.

However, we also felt that Crazy BizTalk was more than us sending some funny tweets. The account should be opened to a broader public, this to allow people to make fun of their favorite integration topics in an anonymous, but verified and non-toxic way.

Continue reading

What you need to know about the BizTalk WCF-SQL adapter

Introduction

As a BizTalk consultant, it is always important to know the product and its features inside out. Knowing the cards you have to play with when designing a solution, gives you an advantage as you know what you can expect in certain situations.

The WCF-SQL adapter is certainly one of the better known adapters out there, so why decide to write yet another piece on it? There are already plenty of blog posts out there, yet I often find myself double-checking certain behaviors and I wanted to write something so I could refer to it at a later stage and help some people out less experienced.

I know there already is an excellent article up on TechNet around this topic, called Typed Polling with WCF-SQL Adapter: Best Practices and Troubleshooting Tips, but the article here will try to add some extra to that.

Continue reading

Azure API Management: disabling the Ocp-Apim-Subscription-Key for your API

When virtualizing your APIs behind an Azure API Management (APIM) service, you always need to provide the subscription key in your calls. Typically, this is done via the header key Ocp-Apim-Subscription-Key. Your subscription key is always linked to an APIM product which you define in your publisher portal.

Sometimes, you might want to disable working with a subscription key altogether. Although this might not be the best idea, it is easier to use in development scenarios and might sometimes be preferred when working with certain legacy applications which cannot easily be changed.

Continue reading

TIL: Built-in file compare in Visual Studio Code

Note: “TIL” posts are short on purpose. They are meant as a quick way to share something I learned or found. This might be something trivial to some people, but they are new to me. TIL stands for Today I Learned.

Today I was editing a Swagger file with Visual Studio Code. I was looking for an extension to be able to compare two files with each other. They were not in source control, so I was not able to use that…

I found that comparing files is actually built-in into Visual Studio Code!

Continue reading

The BizTalk Purge & Archive Job now supports clean-up of orphaned instances

With the latest CU’s for BizTalk Server, the Purge and Archive job can now be configured to clean up orphaned instances. The biggest advantage is that the cleanup is done without any downtime…. yes this means you no longer need to run the BizTalk Health Monitor to clean them up!

The change was marked in the following Microsoft Support article: Orphaned BizTalk DTA service instances are not removed by the “DTA Purge and Archive” job in BizTalk Server

Continue reading