I have added the Project.asmx reference in workflow project.On building the Project.I got the following error
Error 166 Could not create activity of type 'BranchingWorkflow.BranchingWorkflow.BranchingWorkflow'. System.InvalidOperationException: Could not find default endpoint element that references contract 'WebSvcProject.ProjectSoap' 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.
at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)
at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName, Configuration configuration)
at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName)
at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address)
at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress)
at System.ServiceModel.EndpointTrait`1.CreateSimplexFactory()
at System.ServiceModel.ClientBase`1.CreateChannelFactoryRef(EndpointTrait`1 endpointTrait)
at System.ServiceModel.ClientBase`1.InitializeChannelFactoryRef()
at System.ServiceModel.ClientBase`1..ctor()
at WebSvcProject.ProjectSoapClient..ctor()
at BranchingWorkflow.BranchingWorkflow.BranchingWorkflow..cctor