I have added workflow service as reference to wcf service, and it created web.config file with client endpoint. while creating the proxy object its running into issue. Its not able to recognize the contract and throwing below error -
Could not find default endpoint element that references contract 'servicerefname.interfacename' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
I checked reference.cs file and config, everything looks fine. Can someone post redirect me to example where workflow service been reference from WCF?
Note - Its in .Net 4.0