Book Image

SOA Patterns with BizTalk Server 2013 and Microsoft Azure

By : Richard Seroter, Mark T Brimble, Coen J Dijkgraaf, Mahindra Morar, Mark Brimble, Colin Dijkgraaf, Johann Cooper
Book Image

SOA Patterns with BizTalk Server 2013 and Microsoft Azure

By: Richard Seroter, Mark T Brimble, Coen J Dijkgraaf, Mahindra Morar, Mark Brimble, Colin Dijkgraaf, Johann Cooper

Overview of this book

Table of Contents (21 chapters)
SOA Patterns with BizTalk Server 2013 and Microsoft Azure Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Exploring the WCF-WebHttp Adapter


The WCF-WebHttp adapter adds support for specific context properties to handle REST-based messages using the verbs GET, POST, PUT and DELETE. However, the underlying technology is still WCF, as most of the properties are similar to the other WCF adapters available in BizTalk.

There are several new context properties specifically to handle REST. For a complete list of all the properties, refer to the following link: http://msdn.microsoft.com/en-us/library/wcf(v=bts.80).aspx.

Tip

When using a standard send port, you cannot update the HttpHeader properties as the adapter uses the properties on the port by design. To get around this issue, set the BTS.IsDynamicSend context property to true on an outbound message, then a static send port will respect the HttpHeader context property.

As an example, when a consumer requires information about a resource in a RESTful manner, it uses the HTTP GET verb on the resource. The request would be similar to GET http://myservice...