I'm building a workflow that uses a WCF service .. but in the workflow project I didn't add a direct reference to the WCF service, instead I've added a reference to a project that has this service reference, but now the designer isn't opening and it's giving me the following exception error:
System.Xaml.XamlObjectWriterException: 'The invocation of the constructor on type 'OrderingSystemWorkFlow.RegisterOrderBill' that matches the specified binding constraints threw an exception.' Line number '25' and line position '34'. ---> System.InvalidOperationException: Could not find default endpoint element that references contract 'ServiceReference1.IService1' 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.
How to solve this?