Microsoft KB Archive/330065

= BUG: Incorrect Results Occur When a Web Service Returns an Array of Size 0 =

Article ID: 330065

Article Last Modified on 9/27/2005

-

APPLIES TO


 * Microsoft .NET Framework Software Development Kit 1.0

-



This 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.



RESOLUTION
To work around this problem use an end element for empty arrays as shown in the following code sample:  A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to systems that are experiencing this specific problem.

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

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



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbqfe kbhotfixserver KB330065

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.