Specify address at runtime for generated workflow activities

I have a service that runs WF4 workflows using WorkflowApplication. These workflows make use of generated activities from WCF soap services. I'm looking for a way of specifying the endpoint address at runtime, for each workflow run, of the different soap services. Any idea how this is possible while still being able to use the generated activities?

Notes

  • Currently the consumed soap services have their bindings declared in the local app.config file.
  • This post on MSDN provides an overview on how to generate the services: http://msdn.microsoft.com/en-us/library/gg281653.aspx
  • 链接地址: http://www.djcxy.com/p/17170.html

    上一篇: 破碎的WF4工作流程补液

    下一篇: 在运行时为生成的工作流活动指定地址