我有一個WCF-WSHttp發送端口設置與啓用事務檢查,我得到當發送消息以下錯誤:的BizTalk WCF發送端口錯誤 - 頭「的CoordinationContext」不可理解
The header 'CoordinationContext' from the namespace 'http://schemas.xmlsoap.org/ws/2004/10/wscoor' was not understood by the recipient of this message, causing the message to not be processed. This error typically indicates that the sender of this message has enabled a communication protocol that the receiver cannot process. Please ensure that the configuration of the client's binding is consistent with the service's binding.
如果我取消選中「啓用事務處理」框,則會成功處理消息。任何人都可以幫助我得到這與交易支持工作?
下面是該服務的web.config中的綁定信息(transactionFlow設置爲true):
<bindings>
<wsHttpBinding>
<binding name="serviceBinding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
bypassProxyOnLocal="false" transactionFlow="true" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Transport">
<transport clientCredentialType="Ntlm" proxyCredentialType="None"
realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="true"
establishSecurityContext="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
提前感謝!
只是一個想法,但你可能會與非的BizTalk WCF客戶端第一次嘗試這確保事務流設置正確 - http://msdn.microsoft.com/en-us/library/ms733943.aspx – StuartLC 2010-12-06 05:16:05