|
Home > Archive > BizTalk Server Orchestration > April 2005 > Calling Orchestration from 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 |
Calling Orchestration from Orchestration
|
|
| Brian Cesafsky 2005-04-22, 5:54 pm |
|
I have a project that I am calling "common" that contains an orchestration
that will simply send out an email. From a new orchestration in a different
project, I add the reference to the "common" orchestration to this new
project. I add the "Call orchestration" shap, and I select "select from
referenced assembly" in the "Called Orchestration" property. The referenced
"common" orchestration is there, but nothing is listed to select...
What is up with that?
Thanks in advance, Brian
| |
| Scott Colestock 2005-04-22, 5:54 pm |
| Make sure the type modifier is set to public.
Scott Colestock
www.traceofthought.net
"Brian Cesafsky" wrote:
>
>
> I have a project that I am calling "common" that contains an orchestration
> that will simply send out an email. From a new orchestration in a different
> project, I add the reference to the "common" orchestration to this new
> project. I add the "Call orchestration" shap, and I select "select from
> referenced assembly" in the "Called Orchestration" property. The referenced
> "common" orchestration is there, but nothing is listed to select...
>
> What is up with that?
>
> Thanks in advance, Brian
>
>
>
| |
| Brian Cesafsky 2005-04-22, 5:54 pm |
| The type modifier is public, but I found out the following and have a new
issue.
I found out that I can't have a 'receive' as my first item in the
orchestration that I am calling. I am now able to call the orchestration,
but I have a new problem.
New Problem: how do I pass parameters to the orchestration I am calling?
What I want to do is pass a string variable to the common orchestration
(this will contain the subject of the email).
In the calling orchestation I have added an Orchestration Parameter (of
typeVariable Parameter (string)), and then in an expression shape, I set the
value of the parameter.
I build the orchestration and reference in the 'called' orchestration.
Now in the 'called' orchestration, I have created the same Orchestration
Parameter.
What I think I'm supposed to do is pass the parameter from the calling
orchestration by setting the 'parameter' property of the "call
orchestration" shape. The problem is, that my parameters don't show up when
I click on the button in the 'parameters' property, they sould be showing up
there (I think, but obviously not).
Thanks again in advance!
"Scott Colestock" <scott@nospamreallynone.traceventures.net> wrote in
message news:B4365A5C-7855-4F00-B627-1243E9FFE014@microsoft.com...[vbcol=seagreen]
> Make sure the type modifier is set to public.
>
> Scott Colestock
> www.traceofthought.net
>
> "Brian Cesafsky" wrote:
>
| |
| Scott Colestock 2005-04-22, 5:54 pm |
| When creating a "called" orchestration, you need to create the parameters in
the "orchestration parameters" node - look forit above variables, messages,
etc.
Scott Colestock
"Brian Cesafsky" wrote:
> The type modifier is public, but I found out the following and have a new
> issue.
>
> I found out that I can't have a 'receive' as my first item in the
> orchestration that I am calling. I am now able to call the orchestration,
> but I have a new problem.
>
> New Problem: how do I pass parameters to the orchestration I am calling?
> What I want to do is pass a string variable to the common orchestration
> (this will contain the subject of the email).
>
> In the calling orchestation I have added an Orchestration Parameter (of
> typeVariable Parameter (string)), and then in an expression shape, I set the
> value of the parameter.
>
> I build the orchestration and reference in the 'called' orchestration.
>
> Now in the 'called' orchestration, I have created the same Orchestration
> Parameter.
>
>
>
> What I think I'm supposed to do is pass the parameter from the calling
> orchestration by setting the 'parameter' property of the "call
> orchestration" shape. The problem is, that my parameters don't show up when
> I click on the button in the 'parameters' property, they sould be showing up
> there (I think, but obviously not).
>
> Thanks again in advance!
> "Scott Colestock" <scott@nospamreallynone.traceventures.net> wrote in
> message news:B4365A5C-7855-4F00-B627-1243E9FFE014@microsoft.com...
>
>
>
|
|
|
|
|