Name

SoapDocumentServiceAttribute

Synopsis

This attribute can be applied to 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 NotInheritable Class SoapDocumentServiceAttribute : Inherits Attribute
' Public Constructors
   Public Sub New() 
   Public Sub New(
        ByVal use As System.Web.Services.Description.SoapBindingUse) 
   Public Sub New(
        ByVal use As System.Web.Services.Description.SoapBindingUse, 
        ByVal paramStyle As SoapParameterStyle) 
' Public Instance Properties
   Public Property ParameterStyle As SoapParameterStyle  
   Public Property RoutingStyle As SoapServiceRoutingStyle  
   Public Property Use As SoapBindingUse  
End Class

Hierarchy

System.ObjectSystem.Attribute SoapDocumentServiceAttribute

Valid On

Class

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.