I'm having a problem trying to get a workflow (WF4) to call a long running WCF service and then resume processing when the WCF service completes. The diagram below gives a rough outline of what I'm trying to achieve. If you could point me at any samples that demonstrate this scenario (or something very similar) it would be greatly appreciated. For info, I've seen plenty WF to WF examples that didn't really help.
WF4 calling WCF Service
1k Views Asked by user321271 At
1
There are 1 best solutions below
Related Questions in WCF
- WebApi: Reading errors
- i want to create a service that does the login functionality?
- What is the point of the name method in the symfony2 annotation?
- Is it recommended to use Node.js for an online room booking web application?
- CodeIgniter - How to get a list of all my controllers dynamically?
- MVC WPF DataContext for two UserControls
- Is bootstrap file a controller?
- PHP/Zend Framework 2 - Unable to display table field values within dynamically generated table
- Laravel MVC application structure on UML class diagram
- Select2 using Ajax (multi select) - when selecting second one first one disappars
Related Questions in WORKFLOW-FOUNDATION-4
- WebApi: Reading errors
- i want to create a service that does the login functionality?
- What is the point of the name method in the symfony2 annotation?
- Is it recommended to use Node.js for an online room booking web application?
- CodeIgniter - How to get a list of all my controllers dynamically?
- MVC WPF DataContext for two UserControls
- Is bootstrap file a controller?
- PHP/Zend Framework 2 - Unable to display table field values within dynamically generated table
- Laravel MVC application structure on UML class diagram
- Select2 using Ajax (multi select) - when selecting second one first one disappars
Related Questions in MSMQ
- WebApi: Reading errors
- i want to create a service that does the login functionality?
- What is the point of the name method in the symfony2 annotation?
- Is it recommended to use Node.js for an online room booking web application?
- CodeIgniter - How to get a list of all my controllers dynamically?
- MVC WPF DataContext for two UserControls
- Is bootstrap file a controller?
- PHP/Zend Framework 2 - Unable to display table field values within dynamically generated table
- Laravel MVC application structure on UML class diagram
- Select2 using Ajax (multi select) - when selecting second one first one disappars
Related Questions in DUPLEX
- WebApi: Reading errors
- i want to create a service that does the login functionality?
- What is the point of the name method in the symfony2 annotation?
- Is it recommended to use Node.js for an online room booking web application?
- CodeIgniter - How to get a list of all my controllers dynamically?
- MVC WPF DataContext for two UserControls
- Is bootstrap file a controller?
- PHP/Zend Framework 2 - Unable to display table field values within dynamically generated table
- Laravel MVC application structure on UML class diagram
- Select2 using Ajax (multi select) - when selecting second one first one disappars
Related Questions in MSMQ-WCF
- WebApi: Reading errors
- i want to create a service that does the login functionality?
- What is the point of the name method in the symfony2 annotation?
- Is it recommended to use Node.js for an online room booking web application?
- CodeIgniter - How to get a list of all my controllers dynamically?
- MVC WPF DataContext for two UserControls
- Is bootstrap file a controller?
- PHP/Zend Framework 2 - Unable to display table field values within dynamically generated table
- Laravel MVC application structure on UML class diagram
- Select2 using Ajax (multi select) - when selecting second one first one disappars
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Have you considered correlation? Is this handled for you by WF4? in WF3 this was not offered out of the box. It meant that if you sent a request out of a long running service WF3 would have no idea which instance of the workflow to route response messages to.
Without correlation the callback from WCF will not be routed to the "waiting" workflow instance.
UPDATE
Are you writing the correlation token into the callback message?
UPDATE
Sorry I don't have examples as I am not a WF4 user. I had to implement correlation into WF3 because it did not offer the feature. To do this I created a look up service which mapped correlation values to workflow instance guids, and inbound calls could then target specific instances via the wsHttpContextBinding.
But WF4 enables you to initialize and follow correlation on every send and receive-based activity. You can read about this here:
http://blogs.msdn.com/b/endpoint/archive/2010/01/04/what-s-a-correlation-and-why-do-i-want-to-initialize-it.aspx
http://msdn.microsoft.com/en-us/library/ee358755(VS.100).aspx