System.Web.Services.Protocols.SoapDocumentServiceAttribute.Use Property

Gets or sets the default parameter formatting for an XML Web service.

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 formatting styles for parameters sent to and from XML Web services: System.Web.Services.Description.SoapBindingUse.Encoded and System.Web.Services.Description.SoapBindingUse.Literal. System.Web.Services.Description.SoapBindingUse.Encoded refers to formatting the parameters using the SOAP encoding outlined in the SOAP specification in section 5. System.Web.Services.Description.SoapBindingUse.Literal refers to formatting the parameters using a predefined 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