System.Web.Services.Protocols ( class

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 RPC. The client can override this default by using the SoapDocumentMethodAttribute. If you apply this attribute, the web service will not be able to return objects because no XSD schema will be generated.

public sealed class SoapRpcServiceAttribute : Attribute {
// Public Constructors
   public SoapRpcServiceAttribute( );
// Public Instance Properties
   public SoapServiceRoutingStyle RoutingStyle{set; get; }


System.Object System.Attribute SoapRpcServiceAttribute

Valid On


    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace