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 (899197)



The information in this article applies to:

  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Standard Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Developer Edition

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.

CAUSE

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

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.

MORE INFORMATION

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

Modification Type:MajorLast Reviewed:5/31/2005
Keywords:kbBTSOrchestration kbtshoot kbprb KB899197 kbAudDeveloper