Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You cannot use a Call Orchestration shape or a Start Orchestration shape to pass a derived type that has the base type as the parameter to a BizTalk Server 2004 orchestration


View products that this article applies to.

Symptoms

In a Microsoft BizTalk Server 2004 orchestration, you cannot use a Call Orchestration shape or a Start Orchestration shape to pass a derived type that has the base type as the parameter to an orchestration.

When you double-click either a Call Orchestration shape or a Start Orchestration shape, the Variables in Scope list only contains variables of the base type. Therefore, you cannot choose derived typed variables.

↑ Back to the top


Cause

This issue is a known limitation of the Call Orchestration shape and the Start Orchestration shape.

↑ Back to the top


Resolution

To resolve this issue, use the Expression shape instead of a Call Orchestration shape or a Start Orchestration shape.

For a replacement for the Call Orchestration shape, use an expression that is similar to the following:
 call OrchestrationNamespace.OrchestrationName(derivedtype);
For a replacement for the Start Orchestration shape, use an expression that is similar to the following:
 exec OrchestrationNamespace.OrchestrationName(derivedtype);
Note In both expressions, derivedtype is a variable that uses the derived type instead of the base type.

↑ Back to the top


More information

For more information, visit the following Microsoft Developer Network (MSDN) Web sites:

↑ Back to the top


Keywords: KB899197, kbprb, kbtshoot, kbbtsorchestration

↑ Back to the top

Article Info
Article ID : 899197
Revision : 5
Created on : 3/15/2007
Published on : 3/15/2007
Exists online : False
Views : 388