SoapDocumentServiceAttribute::Use Property

 

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

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
property SoapBindingUse Use {
	SoapBindingUse get();
	void set(SoapBindingUse value);
}

Property Value

Type: System.Web.Services.Description::SoapBindingUse

The default SoapBindingUse for the XML Web service. If not set, the default is Literal.

The Web Services Description Language (WSDL) defines two formatting styles for parameters sent to and from XML Web services: Encoded and Literal. Encoded refers to formatting the parameters using the SOAP encoding outlined in the SOAP specification in section 5. Literal refers to formatting the parameters using a predefined XSD schema for each parameter.

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

.NET Framework
Available since 1.1

SoapBindingUse
SoapDocumentServiceAttribute Class
System.Web.Services.Protocols Namespace
[<topic://cpconCustomizingSOAPInASPNETWebServicesWebServiceClients>]

Return to top
Show: