Article ID: 981422 - View products that this article applies to.
Consider the following scenario:
There was a failure executing the receive pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=22.214.171.124, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Source: "Pipeline "
Receive Port: "<Receive Port>"
Reason: An error occurred when parsing the incoming document: "Unexpected end of file has occurred. The following elements are not closed: InnerDetail, MyMsg, part, MyServiceRequest, MyService, ns0:OrderDoc. Line 1, position 149.".
This issue occurs because the WCF-WSHttp adapter truncates the XML message when the message contains a leading whitespace or a trailing whitespace in the message detail element. In the example that is described in the "Symptoms" section, the incoming message is truncated at the whitespace before the "Data after space" string. Specifically, the information that follows this whitespace is not received. Therefore, the received message resembles the following:
Cumulative update informationFor BizTalk Server 2009, the hotfix that resolves this issue is included in Cumulative Update 1 for BizTalk Server 2009.
For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/[anySimpleType]/[anySimpleType]/ )Cumulative update package 1 for BizTalk Server 2009
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
PrerequisitesYou must have BizTalk Server 2009 installed to apply this hotfix.
Restart requirementYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace other hotfixes.
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
To work around this issue, use one of the following methods:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about how to configure a WCF-WSHttp receive location, visit the following Microsoft Developer Network (MSDN) Web site:
How to configure a WCF-WSHttp receive locationFor more information about how to use the Messages tab, visit the following MSDN Web site:
WCF-WSHttp Transport Properties dialog box, Messages tabFor more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/2003907/ )Information on BizTalk Server hot fixes
Article ID: 981422 - Last Review: December 8, 2010 - Revision: 2.0