
SoapServiceRoutingStyle | 625
Protocols
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
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.
Hierarchy
System.Object ➝ System.Attribute ➝ SoapRpcServiceAttribute
Valid On
Class
SoapServerMessage
System.Web.Services.Protocols (system.web.services.dll)
sealed class
This class represents a SOAP request sent by a web service or SOAP response received
by a web service. It inherits from the SoapMessage class, which contains most of the func-
tionality for SOAP messages.
Hierarchy
System.Object ➝ SoapMessage ➝ SoapServerMessage
SoapServiceRoutingStyle
System.Web.Services.Protocols (system.web.services.dll)
serializable
enum
This enumeration is used to specify the SoapDocumentServiceAttribute.RoutingStyle and the
SoapRpcServiceAttribute.RoutingStyle properties. Allowed values are RequestElement (the message
is routed based on the first child element in the body of the SOAP message) and SoapAc-
tion