Microsoft Knowledge Base Email Alertz

(883376) - Discusses a problem where creating a map that accepts multiple input message schemas that belong to the same namespace does not work in BizTalk Server 2004.

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: 883376 - Last Review: September 9, 2004 - Revision: 1.2

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

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.

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.

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.

STATUS

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

MORE INFORMATION

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

APPLIES TO
  • Microsoft BizTalk Server 2004 Standard Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Partner Edition
Keywords: 
kbfix kbtshoot kbbug KB883376
       

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