Share via


Changes in System.web.services from .NET Framework 1.0 to 1.1

 

Microsoft Corporation

June 2003

Applies to:

   Microsoft® .NET Framework 1.1
   XML Web services

Summary: Learn the configuration, protocol, description, and discovery changes made in system.web.services from Microsoft .NET Framework 1.0 (version 1.0.3705.0) to 1.1 (version 1.1.4322.325). (3 printed pages)

Changes to Configuration

HttpGet and HttpPost are now disabled by default. While developing a Web service, many developers use the auto-generated test page to invoke the Web service on localhost. To enable this scenario, a new protocol named HttpPostLocalhost was added to the protocols configuration section. This protocol is enabled by default allowing clients, such as the test page, on the same machine as the Web service to invoke the service using HTTP POST.

For more information on this change, see the Microsoft Knowledge Base article, INFO: HTTP GET and HTTP POST Are Disabled by Default (819267).

Changes to System.web.services.protocols

The following changes were made from .NET Framework 1.0 to 1.1.

HttpGetClientProtocol

Added property: bool UnsafeAuthenticatedConnectionSharing { public get; public set; }

HttpPostClientProtocol

Added property: bool UnsafeAuthenticatedConnectionSharing { public get; public set; }

HttpSimpleClientProtocol

Added property: bool UnsafeAuthenticatedConnectionSharing { public get; public set; }

HttpWebClientProtocol

Added property: bool UnsafeAuthenticatedConnectionSharing { public get; public set; }

SoapHttpClientProtocol

Added property: bool UnsafeAuthenticatedConnectionSharing { public get; public set; }

SoapClientMessage

Added property: string ContentEncoding { public get; public set; }

SoapHeaderAttribute

[Obsolete: This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced] Property: bool Required { public get; public set; }

SoapHeaderDirection

Added one member to the enumeration: Fault = 4. The complete enumeration is now

public sealed enum System.Web.Services.Protocols.SoapHeaderDirection

{
                   In = 1,
                   Out = 2,
                   InOut = 3,
                   Fault = 4,

}

SoapMessage

Added property: string ContentEncoding { public get; public set; }

Changes to System.web.services.description

The following changes were made from .NET Framework 1.0 to 1.1.

SoapProtocolImporter

Added method: protected virtual bool IsSoapEncodingPresent (string uriList)

SoapHeaderBinding

Added property: SoapHeaderFaultBinding Fault { public get; public set; }

Changes to System.web.services.discovery

The following changes were made from .NET Framework 1.0 to 1.1.

DiscoveryClientProtocol

Added property: bool UnsafeAuthenticatedConnectionSharing { public get; public set; }