Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 948028 - Last Review: March 18, 2008 - Revision: 1.1
You cannot add more than one map when you add inbound maps to receive ports or when you add outbound maps to send ports in BizTalk Server
In Microsoft BizTalk Server, you add inbound maps to receive ports, or you add outbound maps to send ports. When you do this, you cannot add more than one map by using the same source schema. This limitation exists even if the maps use different root nodes in a multiple-root source schema.
This behavior makes sure that no ambiguity occurs during runtime when the engine determines which map to apply based on the message that is going through the port.
By design, the BizTalk Server UI does not allow for multiple-root source schemas in multiple maps.
To work around this behavior, execute the transform by using an orchestration that contains logic to determine which map to apply to the incoming data.
For more information about transforms in orchestrations, visit the following Microsoft Developer Network (MSDN) Web site:
For multiple-root scenarios, you can separate each root into separate schemas. Then, you can use the maps that have unique schemas in the port.
The purpose of adding multiple maps to a port is to let the port transform multiple message types at runtime. If you add multiple maps to a port, a message is processed by whichever map has a source schema that matches the message type when the message arrives. The message is transformed only one time, even if the output of the transform matches the source schemas of the remaining maps.
APPLIES TO
- Microsoft BizTalk Server 2006 R2 Developer Edition
- Microsoft BizTalk Server 2006 R2 Enterprise Edition
- Microsoft BizTalk Server 2006 R2 Standard Edition
- Microsoft BizTalk Server 2006 Developer Edition
- Microsoft BizTalk Server 2006 Enterprise Edition
- Microsoft BizTalk Server 2006 Standard Edition
- Microsoft BizTalk Server 2004 Developer Edition
- Microsoft BizTalk Server 2004 Enterprise Edition
- Microsoft BizTalk Server 2004 Partner Edition
| kbexpertiseinter kbtshoot kbprb KB948028 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate