Microsoft Knowledge Base Email Alertz

Error message when you try to build a project in BizTalk Server 2006 or BizTalk Server 2004: Use of Unconstructed Message

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: 921043 - Last Review: July 17, 2006 - Revision: 1.2

Error message when you try to build a project in BizTalk Server 2006 or BizTalk Server 2004: "Use of Unconstructed Message"

SYMPTOMS

Consider the following scenario. In a Microsoft BizTalk Server 2006 or Microsoft BizTalk Server 2004 project, you reference a Web service that does not accept input parameters. When you reference the Web service, multi-part message types are created for the Web service. A port for the Web service is also created. You create an orchestration in the BizTalk project. You use the port that was created to bind to the Web service.

In this scenario, you may receive an error message that resembles the following when you try to build the BizTalk project:
Use of Unconstructed Message 'MessageName'
Note MessageName represents the name of a message.

CAUSE

This issue occurs if a message is not initialized and constructed correctly.

RESOLUTION

To resolve this issue, add a Construct Message shape to the orchestration. Include the Construct Message shape before the Send shape that is bound to the Web service.

For example, the orchestration may resemble the following:
Collapse this imageExpand this image
Construct Message shape
Note In the properties for the Construct Message shape, verify that the message type that you want to construct is selected.

REFERENCES

For more information about how to reference a Web service that does not accept input parameters in a BizTalk project, visit the following Web site:
http://groups.google.com/group/microsoft.public.biztalk.orchestration/browse_frm/thread/8911f8388ac71434/f57451e497febcbc?lnk=st&q=biztalk+call+web+service+%22no+parameter%22&rnum=1#f57451e497febcbc (http://groups.google.com/group/microsoft.public.biztalk.orchestration/browse_frm/thread/8911f8388ac71434/f57451e497febcbc?lnk=st&q=biztalk+call+web+service+%22no+parameter%22&rnum=1#f57451e497febcbc)

APPLIES TO
  • Microsoft BizTalk Server 2006 Standard Edition
  • Microsoft BizTalk Server 2006 Enterprise Edition
  • Microsoft BizTalk Server 2006 Developer Edition
  • 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: 
kbtshoot kbbtsorchestration kbbts kbprb KB921043
       

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

Genious - www.worldwebdirectory.co.uk Report As Irrelevant  
Written: 9/10/2008 2:18 AM
hi, well, can any one explain, what it mean by "use of unconstructed message". why that error appear and what's the logic behind. thanks, genious