BUG: Web Service Request Is Rejected When You Use a Header (330064)



The information in this article applies to:

  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework 1.0 SP1
  • Microsoft .NET Framework 1.0 SP2

This article was previously published under Q330064

SYMPTOMS

When you use a .NET client to talk to a non-.NET Web service, the server rejects the request. This occurs because a header element and a body element share the same href id attributes. This occurs when you call a remote procedure call (RPC) encoded Web service that accepts a header.

CAUSE

The specification for SOAP notes that the id attribute must follow the rules of the ID type as these rules are defined in the XML specification. The XML specification notes the following about the ID type:

Values of type ID must match the Name production. A name must not appear more than once in an XML document as a value of this type; i.e., ID values must uniquely identify the elements which bear them.

Because of this bug, .NET client uses the same id in the body and in the header, which does not comply with the specification.

RESOLUTION

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 computers that are experiencing this specific problem.

To resolve this problem, 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: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,171,456    System.dll
 04-Oct-2002  18:40    1.0.3705.365    503,808    System.web.services.dll
				

STATUS

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

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbbug KB330064