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

    Question

  • 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]
            [WebInvoke(Method = "POST",
            UriTemplate = "/GetEmployee",
            RequestFormat = WebMessageFormat.Json, 
            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

     



    George Mathew
    • Moved by Aspen VJ Monday, May 16, 2011 7:10 AM (From:Visual C# General)
    Thursday, May 12, 2011 10:40 AM

All replies

  • Hi George,

    Based on your description, I think your issue is more related to WCF. So I will move this thread to Windows Communication Foundation forum to get better responses. Thanks.


    Vin Jin [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, May 16, 2011 7:09 AM