Microsoft KB Archive/899197

= 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 =

Article ID: 899197

Article Last Modified on 3/15/2007

-

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,  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:

Using the Call Orchestration Shape

http://msdn2.microsoft.com/en-us/library/ms946339.aspx

Using the Start Orchestration Shape

http://msdn2.microsoft.com/en-us/library/ms946040.aspx

Additional query words: BTS2004

Keywords: kbbtsorchestration kbtshoot kbprb KB899197

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.