Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











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

SYMPTOMS

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.

CAUSE

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.

WORKAROUND

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:
http://blogs.msdn.com/biztalk_core_engine/archive/2004/09/13/228633.aspx (http://blogs.msdn.com/biztalk_core_engine/archive/2004/09/13/228633.aspx)
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.

MORE INFORMATION

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