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; } }