Posts

Showing posts with the label WCF-WebHttp

BizTalk Server 2013 R2 Consuming JSON Messages

Image
BizTalk Server 2013 introduced a couple of new adapters. One of them was the WCF-WebHttp adapter that offers REST Support. The WCF-WebHttp adapter gives you the ability to send messages to Restful services and receive messages through an exposed endpoint. One of the limitations with the adapter (binding) was the lack of Json support. You had to write your own custom pipeline components to serialize the Json format to XML (you can read about it in this blogpost: BizTalk Server support for restful services ). In the new BizTalk Server 2013 R2 there is out-of the box support for sending and receiving JSON messages with the following features: a wizard to generate XSD schema from a JSON instance, and an Encoder and Decoder component to use with custom pipelines. You do not have to write your own custom components anymore. By creating a custom pipeline and dragging either a JsonEncoder or JsonDecoder you can serialize Json into xml or vice versa. With an instance of a Json message y...