BizTalk message body element encoding is invalid
Details
Field | Error Details |
---|---|
Product Name | BizTalk Server |
Product Version | 3.6 |
Event ID | 0 |
Event Source | 0 |
Component | 0 |
Symbolic Name | 0 |
Message Text | BizTalk message body element encoding "{0}" is invalid. Expected encoding: "xml", "base64", "hex", or "string" |
Explanation
This error indicates the use of the BizTalk body template option for the outgoing messages; however, the encoding type specified for the BizTalk body is invalid.
User Action
Use the following procedure to configure the encoding type.
To configure the encoding type
Click Start, click All Programs, click Microsoft BizTalk Server 20xx, and click BizTalk Server Administration.
In the Console Root, expand BizTalk Server Administration, expand BizTalk Group, and expand Applications.
Locate your application and then locate your transport.
Right-click the transport name.
Click Properties.
In the port Type list, select the correct port.
Click Configure.
In the WCF [transport type] Transport Properties dialog box, click the Messages tab.
In the Outbound WCF message body section, click the Template – Content specified by template radio button. In the XML text box, the format of the BizTalk body should be
<bts-msg-body xmlns="http://www.microsoft.com/schemas/bts2007" encoding="[xml|base64|hex|string]"/>
(valid values, which are case-sensitive, for encoding are xml|base64|hex|string)