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.

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


View products that this article applies to.

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.

↑ Back to the top


Cause

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

↑ Back to the top


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:
Note In the properties for the Construct Message shape, verify that the message type that you want to construct is selected.

↑ Back to the top


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:

↑ Back to the top


Keywords: KB921043, kbprb, kbbts, kbbtsorchestration, kbtshoot

↑ Back to the top

Article Info
Article ID : 921043
Revision : 3
Created on : 7/17/2006
Published on : 7/17/2006
Exists online : False
Views : 344