In a ASP.net web project, I have a WCF service and Workflow service and my workflow service want to use the wcf service, so I use the SendActivity to consume the WCF service. I do this in the follow step:
1.Using Add the service reference dialog add the WCF service reference to my project
2.Add a SendActivity to the workflow and config it like this:
OperationName:DoWork and set correct parameters.
All this config value I am copyed from the config file.
But when I run this project it's always throw exception says "ContractFilter mismatch at the EndpointDispatcher" . But if I directly call the WCF service in code, it's all ok.
For demo, I create a very simply WCF service and Workflow service for testing how to config, so I paste all the code here:
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISimpleService" in both code and config file together.
public interface ISimpleService
void DoWork(string workName);
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Sim
View Complete Post