Microsoft Knowledge Base Email Alertz

(840186) - Discusses an issue in BizTalk Server 2004 where a promoted property that has a default value set does not show up as a context property when the document is received.

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: 840186 - Last Review: March 20, 2007 - Revision: 2.2

BUG: A promoted property that has a default value in the document schema may not appear on the message context when you receive a document in BizTalk Server 2004

On This Page

SYMPTOMS

In a document schema in Microsoft BizTalk Server 2004, you may promote a property with a default value set. When you receive a document where the initial value of the property is not set, the empty property may remain empty and may not be promoted to the context properties of the document.

CAUSE

This issue occurs in BizTalk Server 2004 when you use a Pipeline that performs no data validation on the contents of the received document.

WORKAROUND

To work around this issue, use one of the following methods:
  • In the Pipeline file, add the XML Validator component to the Validate stage.
  • In the Pipeline file, add the XML Disassembler component to the Disassemble stage, and set the Validate document structure property to True on the XML Disassembler component.

MORE INFORMATION

Steps to reproduce the behavior

  1. Create a schema with a promoted property, and then set the default value on that property.
  2. Receive a document for that schema that contains an empty element for the promoted property.
  3. Make sure that a pipeline is used on the receive location that does not perform any document validation.
  4. View the context properties of the document.
For more information about schemas or promoting properties, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms916329.aspx (http://msdn2.microsoft.com/en-us/library/ms916329.aspx)

APPLIES TO
  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Standard Edition
Keywords: 
kbtshoot kbnofix kbbtsorchestration kbbug KB840186
       

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