0
votes

Is there any way that BizTalk treats response REST HTTP 201 status as 200 and not throws exceptions?

I've read that article TNWiki Article Spotlight - BizTalk Server: REST Services Error Handling, but the WebRequestInterceptor code is missing in there.

1
That Codeplex solution has moved to GitHub github.com/wmmihaa/REST-Start-Kit-for-BizTalkDijkgraaf
What version of BizTalk are you using, and what CU have you got installed? I have not encountered the 201 being a problemDijkgraaf
Not specific to Biztalk, but 201 is not an error. Anything code starting with 2xx is a success. (with some asterisks).Evert
@Dijkgraaf I use Biztalk 2020 without any CU. I was told that biztalk treats anything that isn't http 200 response as an exception. I'll check that and add more insightPiotr Grudzień

1 Answers

1
votes

Actually I was wrong informed. Biztalk 2020 treats 20x codes as positive ones.