Article ID: 330065 - Last Review: September 27, 2005 - Revision: 1.2 BUG: Incorrect Results Occur When a Web Service Returns an Array of Size 0This article was previously published under Q330065 SYMPTOMS If you have a Web service that returns object arrays of
size 0, the parameter is not deserialized correctly when the client receives
the response. CAUSE This problem occurs because deserializer does not
deserialize the parameter correctly if the array is empty. RESOLUTIONTo work around this problem use an end element for empty
arrays as shown in the following code sample: To resolve this problem immediately, download the fix by clicking the download link later in this article or contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS
(http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms)
Note In special cases, charges that are ordinarily incurred for
support calls may be canceled if a Microsoft Support Professional determines
that a specific update will resolve your problem. The usual support costs will
apply to additional support questions and issues that do not qualify for the
specific update in question.
The English version of this fix has the file attributes (or later) 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 tool in Control Panel. Date Time Version Size File name --------------------------------------------------------------- 04-Oct-2002 18:39 1.0.3705.365 1,298,432 System.xml.dll STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
| Article Translations
|

Back to the top
