Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

BizTalk 2010 Recipes : Orchestrations - Using the Call Orchestration and Start Orchestration Shapes

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
4/12/2011 11:42:47 AM

1. Problem

Within a BizTalk orchestration, you would like to reuse common process logic across BizTalk processes.

2. Solution

Within a BizTalk orchestration, you can call or start other orchestrations without sending a message outside an orchestration's context. BizTalk orchestrations can function as traditional functions, calling one another synchronously or asynchronously. Using the Call Orchestration shape allows a parent orchestration to call a child orchestration with a set of parameters and receive output back (synchronous). Using the Start Orchestration shape allows a parent orchestration to call a child orchestration with any set of parameters and move on, independent of receiving a result back (asynchronous).

As an example, assume that you would like to synchronously call an orchestration to perform a validation routine on a message.

  1. Open the BizTalk project that contains the orchestration that you would like to perform the Call Orchestration functionality.

  2. Drag a Call Orchestration shape from the toolbox onto your design surface.

  3. Click the exclamation mark (tool tip) on the shape. Select No Called Orchestration - Click to Configure. The Call Orchestration Configuration dialog box appears.

  4. In the Call Orchestration Configuration dialog box, select the orchestration you wish to call, as shown in Figure 1. In this dialog box, you can also select parameters that can be passed by an orchestration. Parameters are passed in the form of .NET variables. Only orchestration types that have Activation set to False—that is, only orchestrations that are invoked from another process—will be available for selection. In this instance, this is the calling orchestration rather than message instantiation.

    Figure 1. Call Orchestration Configuration dialog box
  5. Click OK to complete the Call Orchestration shape configuration.

3. How It Works

Orchestration shapes in the BizTalk Orchestration Designer allow for the calling of other orchestrations synchronously or asynchronously. The choice of shape depends on the scenario and design requirements specified for the operating solution.

Calling an orchestration synchronously gives you the ability to nest functionality, similar to calling a method synchronously in any programming language. Calling an orchestration asynchronously allows an orchestration's functionality to be abstracted and performed independently without creating dependencies on the calling and invoking orchestration process.

In addition to calling an orchestration, you can optionally pass parameters to the calling orchestration. Parameters can be used to complement or aid in message processing without the need for custom code development to construct process-centric message context logic. To achieve this within a BizTalk orchestration, parameters are defined in the form of .NET BizTalk type variables. For example, messages, variables, and correlation sets are all BizTalk type variables eligible to be passed with the calling orchestration. Figure 2 shows the configuration of a callable orchestration (note that there is no Receive shape required) with a single input parameter.

Figure 2. Configuring a callable orchestration
Other -----------------
- BizTalk 2010 Recipes : Orchestrations - Using the Transform Shape
- Windows Server 2003 : Deploying Security Configurations - Introducing Security Templates
- Windows Server 2003 : Deploying Security Configurations - Creating a Testing and Deployment Plan
- Windows Server 2003 : Hardening Servers - Deploying Role-Specific GPOs
- Empowering Users Through SharePoint 2010 Libraries (part 2) - A Brief Tour of a Document Library & Adding Documents to a Document Library
- Empowering Users Through SharePoint 2010 Libraries (part 1) - Using the View All Site Content Page in SharePoint 2010
- Exchange Server 2010 : Prioritizing and Scheduling Maintenance Best Practices
- Exchange Server 2010 : Best Practices for Performing Database Maintenance
- BizTalk 2010 Recipes : Orchestrations - Using the Loop Shape
- BizTalk 2010 Recipes : Orchestrations - Using the Parallel Action Shape
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server