Article ID: 981422 - Last Review: December 8, 2010 - Revision: 2.0 FIX: Incoming messages are not received correctly when you use the WCF-WSHttp adapter in BizTalk Server 2009
On This PageSYMPTOMSConsider the following scenario:
There was a failure executing the receive pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive,
Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Source: "Pipeline " Receive Port: "<Receive Port>" URI: "<URI>" 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.". CAUSEThis 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: RESOLUTIONCumulative 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: 2429050 (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: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for
which the hotfix is available. If you do not see your language, it is because a
hotfix is not available for that language.
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 table
WORKAROUNDTo work around this issue, use one of the following methods:
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. MORE INFORMATIONFor 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 location
(http://msdn.microsoft.com/en-us/library/bb226482(BTS.10).aspx)
For more information about how to use the
Messages tab, visit the following MSDN Web site: WCF-WSHttp Transport Properties dialog box, Messages tab
(http://msdn.microsoft.com/en-us/library/bb226479(BTS.10).aspx)
For more
information about BizTalk Server hotfixes, click the following article number
to view the article in the Microsoft Knowledge Base: 2003907
(http://support.microsoft.com/kb/2003907/
)
Information on BizTalk Server hot fixes
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
