SoapDocumentServiceAttribute.Use プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim instance As SoapDocumentServiceAttribute Dim value As SoapBindingUse value = instance.Use instance.Use = value
/** @property */ public SoapBindingUse get_Use () /** @property */ public void set_Use (SoapBindingUse value)
XML Web サービスの既定の SoapBindingUse。この値を設定しない場合、既定値は Literal になります。

Web サービス記述言語 (WSDL: Web Services Description Language) では、XML Web サービスとの間で送受信されるパラメータの書式として、Encoded と Literal の 2 つのスタイルを定義しています。Encoded は、SOAP 仕様のセクション 5 に概説されている SOAP エンコーディングを使用したパラメータの書式設定を表します。Literal は、パラメータごとに定義済みの XSD スキーマを使用したパラメータの書式指定を表します。

<%@ WebService Language="VB" Class="SumService" %> Imports System Imports System.Web.Services Imports System.Web.Services.Protocols Imports System.Web.Services.Description <SoapDocumentService(SoapBindingUse.Literal, _ SoapParameterStyle.Wrapped)> _ Public Class SumService Inherits System.Web.Services.WebService <WebMethod> _ Public Function Add(a As Integer, b as Integer) return a + b End Function End Class
<%@ WebService Language="c#" Class="SumService" %> using System; using System.Web.Services; using System.Web.Services.Protocols; using System.Web.Services.Description; [SoapDocumentService(SoapBindingUse.Literal, SoapParameterStyle.Wrapped)] public class SumService : System.Web.Services.WebService { [WebMethod] public int Add(int a, int b) { return a + b; } }

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からSoapDocumentServiceAttribute.Use プロパティを検索する場合は、下記のリンクをクリックしてください。

- SoapDocumentServiceAttribute.Use プロパティのページへのリンク