Introduction

The attached sample file contain helper BizTalk pipeline component and pipeline used for the new REST (WCF-WebHTTP) adapter that comes with BizTalk Server 2010 R2

Building the Sample

1. Open the solution Visual Studio 2012

2. Compile the BizTalk.RestAdapter.Demo.PipelineComponents project separately.

3. Copy the pipeline component to BizTalk pipeline component folder C:\Program Files (x86)\Microsoft BizTalk Server 2010 R2\Pipeline Components

4. Compile the whole solution. If you experience any issues with BizTalk Pipeline project, remove the existing pipeline component and add it again.

5. Deploy the BizTalk Project BizTalk.RestAdapter.Demo.Schemas, which contains all the required schemas.

6. Copy the folder structure "FileDrops" under C:\Temp\BizTalk.RestAdapter.Sample so all the bindings can be used as its.

Description

Until now it was a challenge to consume REST based services within Microsoft BizTalk Server. There were no out of the box native adapters to communicate with REST based services. Even though BizTalk server comes with first class support for WCF, it’s was a not smooth experience consuming a REST based service. In the past people used variety of custom techniques to consume REST services. If you are on older versions of BizTalk (prior to 2010 R2) you have couple of custom options. There is an excellent article by Nithin Mehrotra from Microsoft explaining the process on 2010 Invoke ReSTful Web Services with BizTalk Server 2010 and also it was later enhanced and packaged into a nice REST Start Kit for BizTalk Server by Mikael Håkansson

BizTalk Server 2010 R2 addresses this limitation by bringing a native REST adapter (WCF-WebHttp) as part of the product.  We will various capabilities in series of articles. In this article, we will cover the basics and get started with GET operations. The full article explaining the concept can be found here 

http://blogs.biztalk360.com/rest-wcf-webhttp-adapter-in-biztalk-server-2010-r2/