SoapBindingUse Enumeration
Specifies whether the message parts are encoded as abstract type definitions or concrete schema definitions.
Assembly: System.Web.Services (in System.Web.Services.dll)
This enumeration applies to extensibility elements which specify that data transmissions use the SOAP protocol, and which are added to FaultBinding, InputBinding and OutputBinding instances.
For more information about specifying protocols for XML Web services, see [<topic://cpconbuildingaspnetwebservices>]. For more information about Web Services Description Language (WSDL), see the specification at http://www.w3.org/TR/wsdl/.
<%@ WebService Language="VB" Class="ShoppingCart" %> Imports System.Web.Services Imports System.Web.Services.Protocols Imports System.Web.Services.Description Imports System Public Class ShoppingCart ' Specify that the XML Web service method uses encoded SOAP messages. <SoapDocumentMethod(Use:=SoapBindingUse.Encoded), _ WebMethod()> _ Public Sub PlaceOrder(O as OrderItem) ' Process the order on the back end. End Sub End Class Public Class OrderItem Public Count As Integer Public Description as String Public OrderDate as DateTime Public CustomerID as Long Public Cost as Decimal End Class
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
