Does MOSS 2007 workflows support calling external mehods ?

Posted by Mina Samy on Stack Overflow See other posts from Stack Overflow or by Mina Samy
Published on 2010-05-19T14:43:56Z Indexed on 2010/05/19 14:50 UTC
Read the original article Hit count: 307

Hi all

I have a custom sharepoint workflow that I need to call an external method defined in a local service

it always throws an exception

System.InvalidOperationException: Could not find service of type 'ListItemCheckService.IListItemCheck' 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()

the question is does the sharepoint workflow system support calling external methods from a local service ?

thanks

© Stack Overflow or respective owner

Related posts about sharepoint2007

Related posts about Workflow