我安装了 Windows Azure SDK 1.6、BizTalk Server 2010 和 Windows EAI SDK 2012 年 4 月 CTP。
使用 WCF-Custom 适配器创建接收位置时,我必须使用 netMessagingBinding,它不会出现在 WCF-Custom
传输属性的绑定(bind)类型列表中。
我在 Microsoft.Net Framework 4.0.30319 下的 machine.config 文件中添加了以下部分
在绑定(bind)扩展下
<add name="netMessagingBinding"
type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingBindingCollectionElement,
Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
在绑定(bind)元素扩展下
<add name="netMessagingTransport"
type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingTransportExtensionElement,
Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
我还缺少什么绑定(bind)类型仍未出现?
最佳答案
This为我工作:
- 安装适用于 .NET 的 Windows Azure 库 (Azure Appfabric SDK)。请注意,Azure Appfabric SDK 1.7现已推出。
- 运行 RelayConfigurationInstaller.exe使用文件设置 .NET 4 所需的运行时,或者通过 manually adding 执行此操作绑定(bind)元素扩展和绑定(bind)扩展到 BOTH 32 位和 64 位机器配置,正如您上面所做的那样。
- 重新启动 BTS 管理控制台
由匿名用户编辑:
- 32 位配置位于此处:%WINDIR%\Microsoft.NET\Framework\v4.0.30319\Config
- 64 位配置位于:%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\Config
关于wcf - 如何在 BizTalk Server 2010 中配置 netMessagingBinding,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12310716/