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.

BUG: You cannot create a map that accepts multiple input message schemas in the same namespace in BizTalk Server 2004


View products that this article applies to.

Symptoms

In Microsoft BizTalk Server 2004, when you create a map that accepts multiple input message schemas in the same namespace, BizTalk Mapper displays only the first message and its elements in the source schema display in the auto-generated map .btm file. When you expand the other input messages in the source schema, the namespace string is empty.

↑ Back to the top


Cause

This problem occurs when the input message schemas have the same namespace. Only one import statement for each unique namespace is generated in the auto-generated map.

↑ Back to the top


Resolution

To resolve this problem, use Notepad to modify the map file and to manually add the missing schemas. To do this, follow these steps:

Note In this example, assume that your input message schemas are Part1.xsd and Part2.xsd and that both schemas belong to the http://SomeNameSpace namespace.
1.Click Start, click Run, type notepad, and then click OK.
2.Click File, and then click Open.
3.In the Files of type list, click All Files.
4.Locate and then click your .btm file, and then click Open.
5.In your map file, locate the following line of code:
<xs:import schemaLocation=".\part1.xsd" namespace=http://somenamespace />
6.Click the end of line, press ENTER, and then type the following code:
<xs:import schemaLocation=".\part2.xsd" namespace=http://somenamespace />
7.On the File menu, click Save.
8.Exit Notepad.

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

The problem that is described in this article does not occur in Microsoft BizTalk Server 2004 Service Pack 1 (SP1).

↑ Back to the top


Keywords: KB883376, kbfix, kbbug, kbtshoot

↑ Back to the top

Article Info
Article ID : 883376
Revision : 1
Created on : 9/9/2004
Published on : 9/9/2004
Exists online : False
Views : 414