Search code examples
restbiztalkbiztalk-2013

Get HTTP error code in BizTalk when consuming rest


Using BizTalk 2013 I'm consuming a rest service with WCF-WebHttp adapter.

It is possible to capture the status code of failing requests and use this fault handling code?

I've read this blog. This describes a solution using wfc custom. I don't want to use this adapter because of all the nice features in the WCF-WebHttp adapter(Such as suppressing request body on verbs etc.


Solution

  • Unfortunately, there is no solution. Using a WCF-Custom and follow this blog http://social.technet.microsoft.com/wiki/contents/articles/16625.biztalk-server-rest-services-error-handling.aspx is the only solution I found.