问题
I have windows Azure SDK 1.6, BizTalk Server 2010 and Windows EAI SDK April 2012 CTP installed.
While creating a receive location with WCF-Custom adapter I have to use netMessagingBinding, which dont appear in the binding type list of WCF-Custom
Transport properties.
I have added following sections in machine.config file under Microsoft.Net Framework 4.0.30319
Under bindingExtensions
<add name="netMessagingBinding"
type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingBindingCollectionElement,
Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
Under bindingElementsExtension
<add name="netMessagingTransport"
type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingTransportExtensionElement,
Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
What else am I missing that binding type is still not appearing?
回答1:
This worked for me:
- Install Windows Azure Libraries for .NET (Azure Appfabric SDK). Note that Azure Appfabric SDK 1.7 is now out.
- Either run RelayConfigurationInstaller.exe with a file setting the requiredRuntime for .NET 4, or do this by manually adding the binding element extensions and binding extensions to BOTH 32 bit and 64 bit machine configs as you've done above.
- Restart BTS Admin Console
Edit by Anon User:
- 32 bit config is in here : %WINDIR%\Microsoft.NET\Framework\v4.0.30319\Config
- 64 bit config is in here : %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\Config
来源:https://stackoverflow.com/questions/12310716/how-to-configure-netmessagingbinding-in-biztalk-server-2010