Imagine that we have 2 Visual Studio BizTalk Project:
- Project1
- Orch1
- Schema1
- Project2
- Orch2
And both are deployed to the same BizTalk Application, and Orch1 from Project1 want to call the Orch2 that exist in Project2. (this also applies if these projects are deployed to different BizTalk Applications)
How can I do this?
- In Project2, Orch2, you have to define the Orchestration property “Type Modifier” to “Public”;
- In Project1, you have to add the reference of Project2
- In Project1, add call Orchestration shape, in property “Called Orchestration”, choose “Select from referenced assembly”,
- Choose Project1 reference and Orch2
The key is, in the Orchestration that you want to call from another’s Orchestrations, defined the property “Type Modifier” to “Public”
Source Code
You can download the source code from:How to call Orchestration from another project or from another BizTalk Application
GitHub
Hi Sandro,
Thank you for this great post. I follow, from time to time, your posts regarding BizTalk. For calling a referenced orchestration, from another project, I can not seem to be able to enter parameters in the calling Orchestration to be transferred to the called referenced Orchestration. Any ideas why?
Thank you,
Best Regards,
Mamdoh Ashir
Vancouver, Canada