How can I use Dynamic Ports using various WCF adapters
Just asthis postby "Jon Fancey" explains how to do Dynamic Routing with SOAP adapter.
Is it possible to do Dynamic Routing using various WCF Adapters shipped with BizTalk Server 2006 R2.
I am setting this in the expression box
"MyDynamicWCFPort(Microsoft.XLANGs.BaseTypes.Address)="WCF-WSHttp://localhost:1343/DynamicWCFservice.WCF/Service.svc";
I am also setting some properties.
But I am getting the following errror:
"The Messaging Engine could not send the message to the dynamic send port. The outbound transport could not be resolved because a matching transport protocol prefix could not be derived from the URL "WCF-WSHttp://localhost:1343/DynamicWCFservice.WCF/Service.svc".
"
Hi Saravan,
I checked two of the tables in BizTalkMgmtDb
- dbo.adm_Adapter
- dbo.adm_AdapterAlias
There were AliasValue for almost all of the adapters except
- WCF-BasicHttp
- WCF-Custom
- WCF-CustomIsolated
- WCF-WSHttp
Also from another reply from "Karahan Celikel - MSFT in BizTalk R2 Adapters and Adapter Pack" wrote:
"
PortOut(Microsoft.XLANGs.BaseTypes.Address) = "http://localhost:1343/DynamicWCFservice.WCF/Service.svc";
PortOut(Microsoft.XLANGs.BaseTypes.TransportType) = "WCF-WSHttp";
"
But I was not able to find TransportType
Any thoughts,
Amit Rohilla
If you're on Beta (B2 I think) you can do this by setting:
Msg(BTS.OutboundTransportType) = "WCF-WSHttp";
On the RC (to TAP customers) and RTM builds it changed to what Karahan described, set the XLANGs.BaseTypes.TransportType on the Port itself.
Hope this helps,
David Stucki