BizTalk Server 2013: Exposing ReSTFul Endpoint using WCF-WebHttp

Introduction

BizTalk Server 2013 offers few new adapters out-of the box. One of them is the WCF-WebHttp adapter that offers REST Support. Since the IT-landscape has changed significantly over last years with the rise of multiple devices (phone, tablet, and so on), the Cloud and increased usage of protocols like REST. Twitter, Google, Salesforce, eBay, Amazon all offer REST API's to use their services. The WCF-WebHttp adapter in BizTalk gives you the ability to send messages to RESTful services and receive messages  through an exposed endpoint. This article will described how to expose and an endpoint in a receive location using WCF-WebHttp.

REST API

A vast majority of the (web) services in the cloud these days are REST based. When exposing a public API over the internet to handle CRUD operations on data REST has now generally been considered the best option. This API or RESTFul web service is a web API that implements HTTP and REST principles. This best described by Wikipedia as follows:

*It is a collection of resources, with four defined aspects:
*

  • the base URI for the web API, such as http://example.com/resources/
  • the Internet media type of the data supported by the web API. This is often JSON but can be any other valid Internet media type provided that it is a valid hypertext standard.
  • the set of operations supported by the web API using HTTP methods (e.g., GET, PUT, POST, or DELETE).
  • the API must be hypertext driven.

Source: Wikipedia Representational state transfer .

The WCF-WebHttp supports REST thus the operations GET, PUT, POST and DELETE when communicating with a RESTFul web service.

Exposing a RESTFul endpoint

[Content to be added]

See Also

Read suggested related topics:

Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.