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.

The outgoing message is suspended when you try to convert an XML message to an EDI format in BizTalk Server 2006 R2


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You use the BizTalk EDI/AS2 Runtime in Microsoft BizTalk Server 2006 R2 to process Electronic Data Interchange (EDI) messages.
  • You use the BizTalk EDI Send Pipeline to convert XML messages to an EDI format and then to send the messages to a trading partner.
  • You try to process an XML message.

In this scenario, the outgoing message is suspended. Additionally, you may receive messages that resemble the following in the Application log:

Message 1
Event Type: Error
Event Source: BizTalk Server 2006 EDI
Event Category: None
Event ID: 8116
Description: Error: 1 (Miscellaneous error)
515: During serialization root node is not placed at start element
Message 2
Event Type: Warning
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5743
Description:
The adapter failed to transmit message going to send port "send port name" with URL "C:\BizTalk\EdiFileOut\%MessageID%.txt". It will be retransmitted after the retry interval specified for this Send Port. Details:"Unable to read the stream produced by the pipeline. Details: Error in serialization ".

↑ Back to the top


Cause

This issue may occur if the XML message contains version and encoding information. For example, this issue may occur if the first line in the XML message resembles the following:
<xml version="1.0" encoding="utf-8">

↑ Back to the top


Resolution

To resolve this issue, remove the first line in the XML message.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


Keywords: KB942280, kbbts, kbbtsmessaging, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 942280
Revision : 6
Created on : 10/25/2007
Published on : 10/25/2007
Exists online : False
Views : 461