Why can't this be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher
-
16 Haziran 2011 Perşembe 18:06
Hi
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_1.0.0.0_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)".Thanks
Yasi
- 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
Tüm Yanıtlar
-
16 Haziran 2011 Perşembe 21:32Moderatör
Did you already check if the service is exposed over basicHttpBinding and has the same security mode as configured in your port?
Thanks,
If this answers your question, please use the "Answer" button to say so | Ben Cline -
19 Temmuz 2011 Salı 14:25
hy
could you resolve this issue? We've exactly the same problem here...
Kind regards,
Peter
-
19 Temmuz 2011 Salı 17:22Moderatör
Peach, could you confirm the security details I was asking about?
Thanks,
If this answers your question, please use the "Answer" button to say so | Ben Cline -
20 Temmuz 2011 Çarşamba 06:22
Hy Ben
The service is exposed over basicHttpBinding, see web.config of wcf service:
<bindings>
<basicHttpBinding>
<binding maxReceivedMessageSize="100000000" maxBufferSize="100000000"
maxBufferPoolSize="100000000">
</binding>
</basicHttpBinding>
</bindings>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.
Peter
-
08 Mart 2012 Perşembe 12:50
How can you solve that?
I have the same problem here. Please help!
Thanks ;)
-
09 Mart 2012 Cuma 16:00Moderatör
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.
Thanks,
If this answers your question, please use the "Answer" button to say so | Ben Cline
-
11 Mayıs 2012 Cuma 15:09
Hi Marcos,
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.
Thanks
Yashpal Singh