SoapBinding.Namespace フィールドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SoapBinding.Namespace フィールドの意味・解説 

SoapBinding.Namespace フィールド

SoapBinding クラスXML 名前空間使用する URI取得します。このフィールド定数です。

名前空間: System.Web.Services.Description
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

解説解説

このフィールド値は "http://schemas.xmlsoap.org/wsdl/soap/" です。

使用例使用例
Dim mySoapBinding As New
 SoapBinding()
mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"
mySoapBinding.Style = SoapBindingStyle.Document
' Get the URI for XML namespace of the SoapBinding class.
Dim myNameSpace As String
 = SoapBinding.Namespace
Console.WriteLine("The URI of the XML Namespace is :"
 + myNameSpace)
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding.Style = SoapBindingStyle.Document;
// Get the URI for XML namespace of the SoapBinding class.
String myNameSpace = SoapBinding.Namespace;
Console.WriteLine("The URI of the XML Namespace is :"+myNameSpace);
SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding->Style = SoapBindingStyle::Document;
// Get the URI for XML namespace of the SoapBinding class.
String^ myNameSpace = SoapBinding::Namespace;
Console::WriteLine( "The URI of the XML Namespace is :{0}", myNameSpace
 );
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.set_Transport("http://schemas.xmlsoap.org/soap/http");
mySoapBinding.set_Style(SoapBindingStyle.Document);
// Get the URI for XML namespace of the SoapBinding class.
String myNameSpace = SoapBinding.Namespace;
Console.WriteLine("The URI of the XML Namespace is :" + myNameSpace);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapBinding クラス
SoapBinding メンバ
System.Web.Services.Description 名前空間

SoapBinding.Namespace フィールド

探索ドキュメント内の SOAP バインディング指定する要素XML 名前空間

名前空間: System.Web.Services.Discovery
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

解説解説
使用例使用例
' 'dataservice.disco' is a sample discovery document.
Dim myStringUrl As String
 = "http://localhost/dataservice.disco"

' Call the Discover method to populate the Documents property.
Dim myDiscoveryClientProtocol As DiscoveryClientProtocol
 = _
    New DiscoveryClientProtocol()
myDiscoveryClientProtocol.Credentials = _
    CredentialCache.DefaultCredentials
Dim myDiscoveryDocument As DiscoveryDocument
 = _
    myDiscoveryClientProtocol.Discover(myStringUrl)

Console.WriteLine("Demonstrating the Discovery.SoapBinding class.")

' Create a SOAP binding.
Dim mySoapBinding As SoapBinding = New
 SoapBinding()

' Assign the address to the SOAP binding.
mySoapBinding.Address = "http://schemas.xmlsoap.org/disco/scl/"

' Bind the created SOAP binding with a new XmlQualifiedName.
mySoapBinding.Binding = New XmlQualifiedName("string",
 _
    "http://www.w3.org/2001/XMLSchema")

' Add the created SOAP binding to the DiscoveryClientProtocol.
myDiscoveryClientProtocol.AdditionalInformation.Add(mySoapBinding)

' Display the namespace associated with the SOAP binding.
Console.WriteLine("Namespace associated with Soap Binding is:
 " _
    + SoapBinding.Namespace)

' Write all the information of the DiscoveryClientProtocol. 
myDiscoveryClientProtocol.WriteAll(".","results.discomap")

// 'dataservice.disco' is a sample discovery document.
string myStringUrl = "http://localhost/dataservice.disco";

// Call the Discover method to populate the Documents property.
DiscoveryClientProtocol myDiscoveryClientProtocol = 
    new DiscoveryClientProtocol();
myDiscoveryClientProtocol.Credentials = 
    CredentialCache.DefaultCredentials;
DiscoveryDocument myDiscoveryDocument = 
    myDiscoveryClientProtocol.Discover(myStringUrl);

Console.WriteLine("Demonstrating the Discovery.SoapBinding class.");

// Create a SOAP binding.
SoapBinding mySoapBinding = new SoapBinding();

// Assign an address to the created SOAP binding.
mySoapBinding.Address = "http://schemas.xmlsoap.org/disco/scl/";

// Bind the created SOAP binding with a new XmlQualifiedName.
mySoapBinding.Binding = new XmlQualifiedName("string"
,
    "http://www.w3.org/2001/XMLSchema");

// Add the created SOAP binding to the DiscoveryClientProtocol.
myDiscoveryClientProtocol.AdditionalInformation.Add(mySoapBinding);

// Display the namespace associated with SOAP binding.
Console.WriteLine("Namespace associated with the SOAP binding is: " 
    + SoapBinding.Namespace);

// Write all the information of the DiscoveryClientProtocol. 
myDiscoveryClientProtocol.WriteAll(".","results.discomap");

// 'dataservice.disco' is a sample discovery document.
String^ myStringUrl = "http://localhost/dataservice.disco";

// Call the Discover method to populate the Documents property.
DiscoveryClientProtocol^ myDiscoveryClientProtocol = gcnew DiscoveryClientProtocol;
myDiscoveryClientProtocol->Credentials = CredentialCache::DefaultCredentials;
DiscoveryDocument^ myDiscoveryDocument = myDiscoveryClientProtocol->Discover(
 myStringUrl );
Console::WriteLine( "Demonstrating the Discovery::SoapBinding class."
 );

// Create a SOAP binding.
SoapBinding^ mySoapBinding = gcnew SoapBinding;

// Assign an address to the created SOAP binding.
mySoapBinding->Address = "http://schemas.xmlsoap.org/disco/scl/";

// Bind the created SOAP binding with a new XmlQualifiedName.
mySoapBinding->Binding = gcnew XmlQualifiedName( "String*","http://www.w3.org/2001/XMLSchema"
 );

// Add the created SOAP binding to the DiscoveryClientProtocol.
myDiscoveryClientProtocol->AdditionalInformation->Add( mySoapBinding );

// Display the namespace associated with SOAP binding.
Console::WriteLine( "Namespace associated with the SOAP binding is: {0}",
 SoapBinding::Namespace );

// Write all the information of the DiscoveryClientProtocol.
myDiscoveryClientProtocol->WriteAll( ".", "results.discomap"
 );

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapBinding クラス
SoapBinding メンバ
System.Web.Services.Discovery 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

SoapBinding.Namespace フィールドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SoapBinding.Namespace フィールドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS