locked
How do I retrieve the baseaddress from within a hosted workflow activity? RRS feed

  • Question

  • I'm extending some activities on top of a product that heavily utilizes workflow.  The problem is that because of a bug, it doesn't send me back the endpoint address of my hosted activity.

    Is there anyway to retrieve WorkflowServiceHost.BaseAddresses from within the activity so I can push it out to the client in an out-of-band mechanism?

     

    Thanks


    ex-MSFT developer, now FIM/MIIS/ILM/WPF/Silverlight consultant | http://blog.aesthetixsoftware.com/
    Monday, March 21, 2011 4:53 PM

All replies

  • Hi, Ikrima

    Please also check this thread:
    http://social.msdn.microsoft.com/Forums/sr-Latn-CS/wfprerelease/thread/3c39481c-fb23-4821-b3e4-4e7a8286f373

    Regards
    MSDN Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    This posting is provided "AS IS" with no warranties, and confers no rights. My Blog: http://xhinker.com
    Microsoft Windows Workflow Foundation 4.0 Cookbook
    Thursday, March 24, 2011 8:15 AM
  • Hey Andrew,

    That doesn't work because the workflow is not hosted inside of IIS.  There's a webservice that uses workflow runtimes to open up endpoints for each workflow definition.  So to get at it, I need to access the workflowsericehost or the workflow runtime associated with the current activity.  Is there a way I can get to that


    ex-MSFT developer, now FIM/MIIS/ILM/WPF/Silverlight consultant | http://blog.aesthetixsoftware.com/
    Sunday, March 27, 2011 12:41 PM
  • Hi, Ikrima

    ->"There's a webservice that uses workflow runtimes to open up endpoints for each workflow definition. "
    That is depends. you may need to write your own code to get the physical address.

    Regards
    MSDN Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    This posting is provided "AS IS" with no warranties, and confers no rights. My Blog: http://xhinker.com
    Microsoft Windows Workflow Foundation 4.0 Cookbook
    Friday, April 8, 2011 7:03 AM