System.Web.Services.Protocols.SoapDocumentMethodAttribute.Use Property

Gets or sets the parameter formatting for an XML Web service method within the XML portion of a SOAP message.

Syntax

public System.Web.Services.Description.SoapBindingUse Use { set; get; }

Value

a System.Web.Services.Description.SoapBindingUse

Remarks

The Web Services Description Language (WSDL) defines two methods for formatting parameters: System.Web.Services.Description.SoapBindingUse.Encoded and System.Web.Services.Description.SoapBindingUse.Literal. System.Web.Services.Description.SoapBindingUse.Encoded refers to formatting parameters using SOAP encoding, as outlined in the SOAP specification in section 5. System.Web.Services.Description.SoapBindingUse.Literal refers to formatting the parameters using a pre-defined XSD schema for each parameter.

For more details, see [<topic://cpconCustomizingSOAPInASPNETWebServicesWebServiceClients>].

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0