This attribute can be applied to a web service's class declaration. It specifies that the default encoding for SOAP request and response messages will be Document. The client can override this default by using the SoapRpcMethodAttribute. This attribute is rarely used because the default in ASP.NET proxy classes is already Document encoding.
public sealed class SoapDocumentServiceAttribute : Attribute { // Public Constructors public SoapDocumentServiceAttribute( ); public SoapDocumentServiceAttribute(System.Web.Services.Description.SoapBindingUse use); public SoapDocumentServiceAttribute(System.Web.Services.Description.SoapBindingUse use, SoapParameterStyle paramStyle); // Public Instance Properties public SoapParameterStyle ParameterStyle{set; get; } public SoapServiceRoutingStyle RoutingStyle{set; get; } public SoapBindingUse Use{set; get; } }