views:

49

answers:

0

Hi all

I have a custom sharepoint workflow with visual studio 2008

I use the call external method activity to invoke a method defined in a local service

once the workflow starts I find that the status is error received.

the log has the following exception:

    System.InvalidOperationException: Could not find service of type 'xxxxxxxxxxxxxxxxxx'
        through the currently configured services. Consider adding the service to 
        ExternalDataExchangeService. at 
        System.Workflow.Activities.CallExternalMethodActivity.Execute(ActivityExecutionContext 
        executionContext) at 
    System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime) 
at System.Workflow.Runtime.Scheduler.Run()

what can be the reason for this