Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Posts Tagged "webHttp"

BizTalk Orchestration handling webHttp REST GET requests

Dan Field

Consider the following scenario: you have a tested BizTalk Orchestration that effectively takes a parameter (say, a message identifier) and returns the message from a database for consumption.  Now you want to expose a WCF Service for consumers of that orchestration to use.  While you could design a SOAP based interface, a simple RESTful interface that accepts a GET verb would do the trick more elegantly (and in a way that would be much easier for clients to work with). It also may meet a requirement when you already have clients that expect a RESTful interface for data retrieval.
There’s plenty out there on handling REST GET requests using BizTalk Orchestrations as a consumer:

https://msdn.microsoft.com/en-us/library/jj248685.aspx
http://www.quicklearn.com/blog/2013/08/16/biztalk-server-2013-support-for-restful-services-part-15/
https://seroter.wordpress.com/2012/11/19/exploring-rest-capabilities-of-biztalk-server-2013-part-2-consuming-rest-endpoints/

Unfortunately, the same can’t quite be said about handling REST GET requests as a provider; there are resources:

https://msdn.microsoft.com/en-us/library/jj572859.aspx
https://seroter.wordpress.com/2012/11/12/exploring-rest-capabilities-of-biztalk-server-2013-part-1-exposing-rest-endpoints/

…but this side of the equation tends to focus on POST and PUT…

\\\