DekGenius.com
[ Team LiB ] Previous Section Next Section

SoapRpcServiceAttribute

System.Web.Services.Protocols (system.web.services.dll)sealed 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; }
}

Hierarchy

System.Object System.Attribute SoapRpcServiceAttribute

Valid On

Class

    [ Team LiB ] Previous Section Next Section