SdlChannelSink Class
Provides the implementation for a server channel sink that generates Web Services Description Language (WSDL) dynamically on the server.
For a list of all members of this type, see SdlChannelSink Members.
System.Object
System.Runtime.Remoting.MetadataServices.SdlChannelSink
[Visual Basic] Public Class SdlChannelSink Implements IServerChannelSink, IChannelSinkBase [C#] public class SdlChannelSink : IServerChannelSink, IChannelSinkBase [C++] public __gc class SdlChannelSink : public IServerChannelSink, IChannelSinkBase [JScript] public class SdlChannelSink implements IServerChannelSink, IChannelSinkBase
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The SdlChannelSink is used to create WSDL in situations where the URL ends with the string "?wsdl".
The following table shows the channel configuration properties that can be specified for this channel sink. The first two properties combine to control the WSDL publication of objects published by the application domain. If false is specified for the first property, no WSDL is returned, regardless of the second property. (The default is true.) Otherwise, the second controls whether the global metadata object URI is permitted to respond. (The default is false.)
| Property | Description |
|---|---|
| metadataEnabled | Boolean specifying whether to honor requests that end in "?wsdl" if this sink is in the channel sink chain. The default setting is true. If false, the sink will throw an exception in all cases where metadata is requested for any object in the application domain.
This property is supported only by the .NET Framework version 1.1 on the following platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family. |
| remoteApplicationMetadataEnabled | Boolean specifying whether to honor requests for the object URI "RemoteApplicationMetadata?wsdl", which returns WSDL describing all objects published by the application domain.If false, then any request to "RemoteApplicationMetadata.rem" will throw an exception. All other "?wsdl" requests for particular object URIs will be honored. If true, the global metadata request is honored. The default setting is false.
This property is supported only by the .NET Framework version 1.1 on the following platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family. |
Requirements
Namespace: System.Runtime.Remoting.MetadataServices
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
See Also
SdlChannelSink Members | System.Runtime.Remoting.MetadataServices Namespace | XML Web Service Description