BizTalk server EDI Trading Partner management tool has a nice utility to exclude the “not supported” incoming documents. While utilizing this feature in BizTalk 3013, I noticed that there may be a bug here. For demonstration here is a scenario. I selected 816 as a non supported document.
If I drop a valid X12 816 in my receive location (I have to have the 816 schema deployed, else I will get unresolved schema error). Receive pipeline will publish a 997. This 997 will have a status code of “Rejected”.
However, when the subscribing send port tries to write this 997, an error is thrown.
Another view of the error.