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



The information in this article 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 '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:

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:

Modification Type:MajorLast Reviewed:7/17/2006
Keywords:kbtshoot kbBTSOrchestration kbBTS kbprb KB921043 kbAudDeveloper