Check that sender and receiver have the same contract and the same binding

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,
We have an android application communicating with a WCF Service. We are passing JSON string to the WCF Service . But We are getting the following message .
The message with Action JsonAuthenticateUser 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).


[OperationContract]<br/>
[WebInvoke(Method = "POST",<br/>
UriTemplate = "/GetEmployee",<br/>
RequestFormat = WebMessageFormat.Json, <br/>
ResponseFormat = WebMessageFormat.Json)]

This also mentioned in the service file
We convertin this string to one the ModalObjects
Can Anyone Please Help Us
Thanks in advance

<br/>
<hr class="sig George Mathew

View the full article
 
Back
Top