System::Web::Services::Protocols::SoapDocumentServiceAttribute class

SoapDocumentServiceAttribute class

Sets the default format for the SOAP requests and responses. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class SoapDocumentServiceAttribute : public System::Attribute

Methods

MethodDescription
get_ParameterStyle()RTTI information.
get_RoutingStyle()Gets a value that shows how the SOAP messages are routed to the service.
get_Use()Gets the parameter formatting.
set_ParameterStyle(SoapParameterStyle)Sets a value that indicates if parameters are encapsulated within a single XML element beneath the ‘Body’ element.
set_RoutingStyle(SoapServiceRoutingStyle)Sets a value that shows how the SOAP messages are routed to the service.
set_Use(Description::SoapBindingUse)Sets the parameter formatting.
SoapDocumentServiceAttribute()Constructs a new instance.
SoapDocumentServiceAttribute(Description::SoapBindingUse)Constructs a new instance.
SoapDocumentServiceAttribute(Description::SoapBindingUse, SoapParameterStyle)Constructs a new instance.

See Also