SoapBindingStyle Enumeration
.NET Framework 2.0
Specifies the type of action that occurs in the XML Web service at the level of the class hierarchy to which this enumeration is applied.
Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
| Member name | Description | |
|---|---|---|
| Default | The default type of action for the current hierarchical level of the Web Services Description Language (WSDL) file. | |
| Document | The message being transmitted is document-oriented. | |
| Rpc | The message being transmitted contains the parameters to call a procedure or the return values from that procedure. RPC is an acronym for "remote procedure call." |
SoapBinding^ mySoapBinding = gcnew SoapBinding; mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http"; mySoapBinding->Style = SoapBindingStyle::Document; // Add the 'SoapBinding' object to the 'Binding' object. myBinding->Extensions->Add( mySoapBinding );
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.set_Transport("http://schemas.xmlsoap.org/soap/http");
mySoapBinding.set_Style(SoapBindingStyle.Document);
// Add the 'SoapBinding' object to the 'Binding' object.
myBinding.get_Extensions().Add(mySoapBinding);
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: