Calling Restful Service Using Dynamic Send Ports Biztalk 2013 PDF
Calling Restful Service Using Dynamic Send Ports Biztalk 2013 PDF
made with
Calling Restful Service using
Dynamic Send Ports – BizTalk
2013
But all of the blog posts deals with static send ports. However, I had a
very different situation where in I have to make a RestCall using
dynamic send port (to be used with ESB Itineraries).
The only difference in making a call using dynamic send ports is that, all
the configuration that we do in static send port has to be in context. I
started analyzing the context properties for WCF Adapter and found 3
main properties that are required for making a RestCall using dynamic
Send Port.
1. VariablePropertyMapping
2. HttpMethodAndUrl
3. SuppressMessageBodyForHttpVerbs
<BtsHttpUrlMapping>
</BtsHttpUrlMapping>
<BtsVariablePropertyMapping
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
</BtsVariablePropertyMapping>
Setting the three context properties is the main key for using dynamicmade with
send port for Restful service calls. These three properties can also be
set in a custom pipeline component. However, I created an
orchestration to make my demonstration easier.
HTH
- Shiv