After many hours of research and blog reading, I came to the conclusion that there is no out-of-the-box or additional download (from an Adapter Pack or similar) support for REST services in BizTalk 2009. My recommendation is to have a C# helper class make the call for you. This is not what I was hoping to discover, although it does make sense.
REST services do not employ formal contracts, while BizTalk relies heavily on strong-typing of messages, these two philosophies contradict.
The other issue is that BizTalk needs two pieces of data for message delivery, destination URI and the Message. REST embeds the message as part of the URI. Again, this is a contradiction in philosophies.
We can create a Dynamic Send port with the correct URI (message embedding included), however BizTalk must send a message along with the URI and REST services reject this additional payload. Also, Dynamic Send ports do not support two-way communication so there is no way to correlate the response message, even if we were to actually be able to get one from the REST Service.
Until Microsoft adds support for REST in BizTalk, the workaround is to use a .NET Helper Method to make the REST call for us.
5 comments:
Your article is very informative. You have written it very well. I have bookmarked you website. Thanks for sharing.
I've been searching for days and I'm starting to believe you....
Thanks a lot for sharing such a useful information...
Dissertation writing services
Your blog is really very interesting.
Dissertation Writing Services
After many hours of research< I finally found this information! Thanks a lot for your exquisite! It's very important for my write my paper! God bless you! Keep it up!
Post a Comment