Imagine that we have 2 Visual Studio BizTalk Projects:
- Project1
- Orch1
- Schema1
- Project2
- Orch2
Both are deployed to the same BizTalk Application, and Orch1 from Project1 wants to call the Orch2 that exists 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 the property Called Orchestration, choose Select from referenced assembly,
- Choose Project1 reference and Orch2
The key is to define the property Type Modifier to Public in the Orchestration that you want to call from another Orchestration.
Source Code/Download
THIS COMPONENT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND.
You can download the source code How to call Orchestration from another project or from another BizTalk Application from GitHub here:
Hope you find this helpful! So, if you liked the content or found it useful and want to help me write more, you can help us buy a Star Wars Lego for my son!
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