SoapOperationBinding::SoapAction Property
.NET Framework (current version)
Gets or sets the URI for the SOAP header.
Assembly: System.Web.Services (in System.Web.Services.dll)
This property is required for HTTP protocol binding of SOAP. The default value is an empty string ("").
// Create the 'SoapOperationBinding' object for the 'SOAP' protocol. SoapOperationBinding^ mySoapOperationBinding = gcnew SoapOperationBinding; mySoapOperationBinding->SoapAction = "http://tempuri.org/AddNumbers"; mySoapOperationBinding->Style = SoapBindingStyle::Document; // Add the 'SoapOperationBinding' object to 'OperationBinding' object. myOperationBinding->Extensions->Add( mySoapOperationBinding );
.NET Framework
Available since 1.1
Available since 1.1
Show: