Microsoft KB Archive/921043

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

Article ID: 921043

Article Last Modified on 7/17/2006

-

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

-





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 ' '

Note  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:



Note In the properties for the Construct Message shape, verify that the message type that you want to construct is selected.

