Need your help on consuming one of the WCF webservice. Its working service and in my application we are already consuming many methods from the service. I have just added the new method in WCF service. when I test the new method in WCF service it is working fine, there are no issues when I test the service alone. But I have added the new WCF service dll
to my web application and trying to consume my new method, I am always getting this error message, I don't understand what mistake I am doing here. Please help me.
Error:
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).
There is no issue with WCF service, because all other methods from the services works fine, except the newly added method.
var response = client.GetAllCountries(new GetAllCountriesRequest
{
Language = "Eng",
IndustryCode = "TP"
})