I have a decompiled client that calls a web service, the only configuration parameter is the endpoint url the rest is all in the service class. I wanted to simulate the service that calls starting from his wsdl I managed to do it with a visual studio 2017 web project and adding the .asmx file and implementing the methods from the interface generated by the wsdl. Basically I created a mock as a rule is made in soapui.
The question is: how can I do the same thing using a WCF project?
I Have followed this Post: How to use a WSDL file to create a WCF service (not make a call)
But generated files (svcutil /sc) works with internal console test but decompiled client call (I can't modify config client - remember with .asmx works) show this message :
Failed to process the message with Action '' due to a ContractFilter mismatch in EndpointDispatcher
Thank you.