InputBinding Class
.NET Framework 3.0
Provides a set of specifications for data formats and protocols used by the XML Web service for input messages. This class cannot be inherited.
Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
The InputBinding class corresponds to the Web Services Description Language (WSDL) <input> element enclosed by the <operation> element, which in turn corresponds to the OperationBinding class. For more information about WSDL, see the specification at http://www.w3.org/TR/wsdl/.
The following example demonstrates a typical use of the InputBinding class.
// Used to create OperationBinding instances within 'Binding'. static OperationBinding^ CreateOperationBinding( String^ operation, String^ targetNamespace ) { // Create OperationBinding for operation. OperationBinding^ myOperationBinding = gcnew OperationBinding; myOperationBinding->Name = operation; // Create InputBinding for operation. InputBinding^ myInputBinding = gcnew InputBinding; SoapBodyBinding^ mySoapBodyBinding = gcnew SoapBodyBinding; mySoapBodyBinding->Use = SoapBindingUse::Literal; myInputBinding->Extensions->Add( mySoapBodyBinding ); // Create OutputBinding for operation. OutputBinding^ myOutputBinding = gcnew OutputBinding; myOutputBinding->Extensions->Add( mySoapBodyBinding ); // Add InputBinding and OutputBinding to OperationBinding. myOperationBinding->Input = myInputBinding; myOperationBinding->Output = myOutputBinding; // Create an extensibility element for SoapOperationBinding. SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding; mySoapOperationBinding->Style = SoapBindingStyle::Document; mySoapOperationBinding->SoapAction = String::Concat( targetNamespace, operation ); // Add the extensibility element SoapOperationBinding to OperationBinding. myOperationBinding->Extensions->Add( mySoapOperationBinding ); return myOperationBinding; }
System.Object
System.Web.Services.Description.DocumentableItem
System.Web.Services.Description.NamedItem
System.Web.Services.Description.MessageBinding
System.Web.Services.Description.InputBinding
System.Web.Services.Description.DocumentableItem
System.Web.Services.Description.NamedItem
System.Web.Services.Description.MessageBinding
System.Web.Services.Description.InputBinding
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: