Specifies an HTTP transport for transmitting SOAP messages for a custom binding.
<httpTransport allowCookies=Boolean" authenticationScheme="Digest/Negotiate/Ntlm/Basic/Anonymous" bypassProxyOnLocal=Boolean" hostnameComparisonMode="StrongWildcard/Exact/WeakWildcard" keepAliveEnabled="Boolean" maxBufferSize="Integer" proxyAddress="Uri" proxyAuthenticationScheme="None/Digest/Negotiate/Ntlm/Basic/Anonymous" IntegratedWindowsAuthentication: Specifies Windows authentication" realm="String" transferMode="Buffered/Streamed/StreamedRequest/StreamedResponse" unsafeConnectionNtlmAuthentication="Boolean" useDefaultWebProxy="Boolean" />
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
A Boolean value that specifies whether the client accepts cookies and propagates them on future requests. The default is false.
Specifies the protocol used to authenticate client requests being processed by an HTTP listener. Valid values include the following:
The default is Anonymous. This attribute is of type AuthenticationSchemes. This attribute can only be set once.
A Boolean value that indicates whether to bypass the proxy server for local addresses. The default is false.
A local address is one that is on the local LAN or intranet.
Windows Communication Foundation (WCF) always ignores the proxy if the service address begins with http://localhost.
You should use the host name rather than localhost if you want clients to go through a proxy when talking to services on the same machine.
Specifies the HTTP hostname comparison mode used to parse URIs. Valid values are,
The default is StrongWildcard. This attribute is of type T:System.ServiceModel.HostnameComparisonMode.
A Boolean value that specifies whether to make a persistent connection to the internet resource.
A positive integer that specifies the maximum size of the buffer. The default is 524288
A URI that specifies the address of the HTTP proxy. If useSystemWebProxy is true, this setting must be null. The default is null.
Specifies the protocol used for authenticating client requests being processed by an HTTP proxy. Valid values include the following:
The default is Anonymous. This attribute is of type AuthenticationSchemes.
A string that specifies the realm to use on the proxy/server. The default is an empty string.
Servers use realms to partition protected resources. Each partition can have its own authentication scheme and/or authorization database. Realms are used only for basic and digest authentication. After a client successfully authenticates, the authentication is valid for all resources in a given realm. For a detailed description of realms, see RFC 2617 at http://www.ietf.org.
Specifies whether messages are buffered or streamed or a request or response. Valid values include the following:
The default is Buffered. This attribute is of type TransferMode .
A Boolean value that specifies whether Unsafe Connection Sharing is enabled on the server. The default is false. If enabled, NTLM authentication is performed once on each TCP connection.
A Boolean value that specifies whether the machine-wide proxy settings are used rather than the user specific settings. The default is true.
Defines all binding capabilities of the custom binding.
The httpTransport element is the starting point for creating a custom binding that implements the HTTP transport protocol. HTTP is the primary transport used for interoperability purposes. This transport is supported by the Windows Communication Foundation (WCF) to ensure interoperability with other non-WCF Web services stacks.