Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7736181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:40:54+00:00 2026-06-01T07:40:54+00:00

Suppose there exists a workflow service A. WF A may have more than a

  • 0

Suppose there exists a workflow service A. WF A may have more than a single instance (using CanCreateInstance).
Now, suppose there exists WF B, which is different (in content), but with the same characteristics as WF A.
In order for WF A to finish, it has to call WF-B n (dynamically determined) times (each time with a different arguments, of course).

Pseudo workflow could be:

Instance of WF-A:
    // WF is instantiated 
    // do some activities
    parallel-foreach (product in Products)
        Send & Receive to a different instance of WF-B with parameter product
    // do some activities
    // WF-A is done

The only question is: How do you implement such a scheme?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:40:56+00:00Added an answer on June 1, 2026 at 7:40 am

    There are couple of things to note;

    There are two ways to call a service within a WF.

    • One way is using Send-Receive activities style messaging, in which one needs to specify the address of the service (or configuration endpoint) as well as method name & arguments (including their names).
    • The other way is to use a service reference. When using such a reference, visual studio will create a dedicated activity for each service method. That way seems to be a native way and uses a WF activity abstraction (use that way if possible!).

    Note that the .XAMLX file, that declaratively represents the WF service, will point to the specific service reference activity, which is, eventually bundled in the dll of the project that XAMLX resides in.

    Note also that the generated service-reference activity points to some WCF configuration client binding. Since WF-A is a client of WF-B.

    Therefore, you could do the following:

    1. Do whatever you want in WF-A – just use WF-B with by using the service reference activity.

    2. The host of WF-A should have a reference to the assembly in which WF-A.XAMLX resides (which means that the host will have the WF-B activity from its service reference). Meaning the XamlX, by itself, is not enough for the host.

    3. Add a service reference (with the same namespace as used in WF-A assembly) to WF-B in the host of WF-A, change the client configuration of the host by removing the leading namespaces in the client section in the contract name (IServiceB instead of ServiceReference.IServiceB)

    The last step could be replaced with configuring the client bindings by yourself, but it’s much easier using a service reference (that you can also update)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose there exists a function which returns a message say of the following format:
everyone The problem is if there exists two exported components which have the same
Suppose there is a table A which has a column AccessRights which is multivalued(
Suppose there is a System A which gives some output. This output is used
Suppose I have have made a an osX app without using Xcode. After compiling
Suppose I have my project using Base SDK = 4 but set the Target
Suppose I have a server that runs on Linux on which I would like
There exists interface Algorithm There exists class MathAlgorythm implements Algorithm (returns MathResult, which implements
Suppose you have a java object, would it be possible to detect where exists
Suppose I have a model user , which has a uniqueness constraint on the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.