Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SoapParameterStyle Enumeration

SoapParameterStyle Enumeration

Specifies how parameters are formatted in a SOAP message.

[Visual Basic]
<Serializable>
Public Enum SoapParameterStyle
[C#]
[Serializable]
public enum SoapParameterStyle
[C++]
[Serializable]
__value public enum SoapParameterStyle
[JScript]
public
   Serializable
enum SoapParameterStyle

Remarks

The SoapParameterStyle can be set when applying a SoapDocumentMethodAttribute to an XML Web service method or a method of a client proxy class. The SoapParameterStyle can also be set by applying a SoapDocumentServiceAttribute to a class implementing an XML Web service.

Members

Member name Description
Bare

Supported by the .NET Compact Framework.

Parameters sent to and from an XML Web service method are placed in XML elements directly following the Body element of a SOAP request or SOAP response.
Default

Supported by the .NET Compact Framework.

Specifies using the default SoapParameterStyle for the XML Web service. The default for an XML Web service can be set by applying a SoapDocumentServiceAttribute to the class implementing the XML Web service. If a SoapDocumentServiceAttribute is not applied to the class implementing the XML Web service, the default is Wrapped.
Wrapped

Supported by the .NET Compact Framework.

Parameters sent to and from an XML Web service method are encapsulated within a single XML element followig the Body element of the XML portion of a SOAP request or SOAP response.

Requirements

Namespace: System.Web.Services.Protocols

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Web.Services (in System.Web.Services.dll)

See Also

System.Web.Services.Protocols Namespace | SoapDocumentMethodAttribute | SoapDocumentServiceAttribute

Show:
© 2015 Microsoft