Why can't this be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher
I am trying to consume WCF Webservice with Biztalk 2009 with WCFBasicHTTP adapter I am getting below error I have gone through the various related article but not able to resolove it.
I will highly appriciate if sombody will help me
The adapter failed to transmit message going to send port "WCF_BizTalkDemo_18.104.22.168_WCF_BizTalkDemoNamespace.MemberServiceClient_Port_2_fdb7478ddc147bbb" with URL "https://test3-cgxws.humana.com/member/MemberService.svc". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.ServiceModel.FaultException: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</faultcode><faultstring xml:lang="en-US">The message with Action '<BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Operation Name="SearchMember" Action="http://schemas.humana.com/2010/09/CgX/Member/IMemberService/SearchMember" />
<Operation Name="CreateTempMember" Action="http://schemas.humana.com/2010/09/CgX/Member/IMemberService/CreateTempMember" />
<Operation Name="SearchTempMember" Action="http://schemas.humana.com/2010/09/CgX/Member/IMemberService/SearchTempMember" />
<Operation Name="GetDemographicsAndContactsDetails" Action="http://schemas.humana.com/2010/09/CgX/Member/IMemberService/GetDemographicsAndContactsDetails" />
<Operation Name="GetMemberPolicies" Action="http://schemas.humana.com/2010/09/CgX/Member/IMemberService/GetMemberPolicies" />
<Operation Name="GetClinicalProfileAlertDetails" Action="http://schemas.humana.com/2010/09/CgX/Member/IMemberService/GetClinicalProfileAlertDetails" />
</BtsActionMapping>' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring></s:Fault></s:Body></s:Envelope>
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
- Değiştirilmiş Tür Andrew_ZhuModerator 23 Haziran 2011 Perşembe 05:58 no reply
- Değiştirilmiş Tür Brent Serbus 25 Haziran 2011 Cumartesi 18:48 clearly a question or problem
- Düzenleyen Brent Serbus 25 Haziran 2011 Cumartesi 18:49 rephrase to q type
- Değiştirilmiş Tür Andrew_ZhuModerator 08 Temmuz 2011 Cuma 02:40 no reply
The service is exposed over basicHttpBinding, see web.config of wcf service:
<binding maxReceivedMessageSize="100000000" maxBufferSize="100000000"
In the web.config there aren't any security modes defined, on the send-port of the BizTalk-Application there is also "None" defined as Security Mode.
Thanks for your help.
Usually this error is resolved by making the SecurityMode of the BizTalk port match that of the service. Sometimes there are other things to synch up too. The error is basically saying that the configuration of the service and client are not matching.
If this answers your question, please use the "Answer" button to say so | Ben Cline
The best way to resolve this issue ,instead of configuring WCF port manually , pls. import binding file which was created while consuming the WCF Service in Visual studio solution in your application (in BizTalk Admin) and it will configured WCF Port for you automatically.
In my case I was manually configuring WCF Ports and looks something was missing there, when I have imported binding file to configure automatically my issue got resolved.