|
Home > Archive > BizTalk Server General > July 2005 > Correlating and Call Orchestration
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Correlating and Call Orchestration
|
|
| jagostoni@gmail.com 2005-07-25, 6:04 pm |
| I am trying to solve the following business problem using BizTalk:
A user submits their request (via InfoPath) to a web service to
activate an orchestration. Part of business process is to have
multiple levels of approval (also submitted via the IP form). So,
given that the business process is huge I have separated the
orchestration into several smaller orchestrations and use the Call
Orchestration shape to get to them.
Now my problem: When I get the the orchestration that is to wait for
the approval messages I need to correlate them to the main
orchestration. What I tried to do is setup a correlation set (using a
GUID on both schemas as the ID promoted to the same property schema)
and initialize it using the activate message (SchemaA) and follow it
with the approval messages (SchemaB). The approval message happen two
orchestrations deep so I am passing the port and correlation through as
orchestration parameters.
Now, when I compile I get the following error message:
"a sequential convoy which is initialized by an activate receive may
not call or compensate a service with a receive participating in the
convoy"
However, my intent is not an offical "non-uniform sequential convoy"
but it seems to be treated like one. It seems this message is
indicating that I simply cannot do such a correlation using the Call
Orchestration shape.
Any advice or questions? I am sure the above may be confusing so, in
short, it is just a long-running submit/approval scheme. The customer
does NOT want to use HWS since Microsoft have deprecated it.
Thanks,
Jason
| |
| Scott Colestock 2005-07-25, 6:04 pm |
| When I have done this kind of thing in the past, I've only passed the
correlation set in as a parameter - not the port. (And, in fact, the
subsequent messages indeed came in on a different port...) I don't know if
this was required or not, but it was a pattern that worked and might point
you in the right direction.
Scott Colestock
www.traceofthought.net
<jagostoni@gmail.com> wrote in message
news:1122306854.651856.164380@o13g2000cwo.googlegroups.com...
>I am trying to solve the following business problem using BizTalk:
>
> A user submits their request (via InfoPath) to a web service to
> activate an orchestration. Part of business process is to have
> multiple levels of approval (also submitted via the IP form). So,
> given that the business process is huge I have separated the
> orchestration into several smaller orchestrations and use the Call
> Orchestration shape to get to them.
>
> Now my problem: When I get the the orchestration that is to wait for
> the approval messages I need to correlate them to the main
> orchestration. What I tried to do is setup a correlation set (using a
> GUID on both schemas as the ID promoted to the same property schema)
> and initialize it using the activate message (SchemaA) and follow it
> with the approval messages (SchemaB). The approval message happen two
> orchestrations deep so I am passing the port and correlation through as
> orchestration parameters.
>
> Now, when I compile I get the following error message:
>
> "a sequential convoy which is initialized by an activate receive may
> not call or compensate a service with a receive participating in the
> convoy"
>
> However, my intent is not an offical "non-uniform sequential convoy"
> but it seems to be treated like one. It seems this message is
> indicating that I simply cannot do such a correlation using the Call
> Orchestration shape.
>
> Any advice or questions? I am sure the above may be confusing so, in
> short, it is just a long-running submit/approval scheme. The customer
> does NOT want to use HWS since Microsoft have deprecated it.
>
> Thanks,
> Jason
>
|
|
|
|
|