OPERATIONとは? わかりやすく解説

Weblio 辞書 > 辞書・百科事典 > デジタル大辞泉 > OPERATIONの意味・解説 

オペレーション【operation】

読み方:おぺれーしょん

1 機械などの操作。運転。

2 中央銀行(日本では日本銀行)が手持ちの有価証券を売買して金融を調節する市場操作。オペ。

3 作戦。軍事作戦行動。

4 外科手術。オペ。


Operation クラス

XML Web サービスでサポートされるアクションの抽象定義を提供します。このクラスは継承できません。

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

Public NotInheritable Class
 Operation
    Inherits NamedItem
public sealed class Operation : NamedItem
public ref class Operation sealed : public
 NamedItem
public final class Operation extends NamedItem
public final class Operation extends
 NamedItem
解説解説

Operation クラスは、portType 要素で囲まれた WSDL (Web Services Description Language) operation 要素に対応します。WSDL の詳細については、http://www.w3.org/TR/wsdl/ の仕様を参照してください。

使用例使用例

Operation クラスの一般的な使用例を次に示します。この例では、HTTP POST プロトコルをサポートする PortType を持たない ServiceDescription を使用します。続いて、POST をサポートする PortType のインスタンスを追加し、新しい WSDL コントラクトを出力します。

Imports System
Imports System.Web.Services.Description
Imports System.Collections
Imports System.Xml

Class MyOperationClass
   
   Public Shared Sub Main()
      Dim myDescription As ServiceDescription
 = ServiceDescription.Read("Operation_5_Input_VB.wsdl")
      ' Create a 'PortType' object.
      Dim myPortType As New
 PortType()
      myPortType.Name = "OperationServiceHttpPost"
      Dim myOperation As Operation = CreateOperation("AddNumbers",
 "s0:AddNumbersHttpPostIn", _
                                                                     "s0:AddNumbersHttpPostOut")
      myPortType.Operations.Add(myOperation)
      ' Get the PortType of the Operation. 
      Dim myPort As PortType = myOperation.PortType
        Console.WriteLine( _
           "The port type of the operation is: " &
 myPort.Name)
      ' Add the 'PortType's to 'PortTypeCollection' of 'ServiceDescription'.
      myDescription.PortTypes.Add(myPortType)
      
      ' Write the 'ServiceDescription' as a WSDL file.
      myDescription.Write("Operation_5_Output_VB.wsdl")
      Console.WriteLine("WSDL file with name 'Operation_5_Output_VB.wsdl'"
 + _ 
                           "file created Successfully")
   End Sub 'Main
   
   Public Shared Function
 CreateOperation(myOperationName As String,
 myInputMesg As String, _
                                                         myOutputMesg As
 String) As Operation
      ' Create an Operation.
      Dim myOperation As New
 Operation()
      myOperation.Name = myOperationName
      Dim myInput As OperationMessage = _
         CType(New OperationInput(), OperationMessage)
      myInput.Message = New XmlQualifiedName(myInputMesg)
      Dim myOutput As OperationMessage = _
         CType(New OperationOutput(), OperationMessage)
      myOutput.Message = New XmlQualifiedName(myOutputMesg)

      ' Add messages to the OperationMessageCollection.
      myOperation.Messages.Add(myInput)
      myOperation.Messages.Add(myOutput)
      Console.WriteLine("Operation name is: " &
 myOperation.Name)
      Return myOperation
   End Function 'CreateOperation
 
End Class 'MyOperationClass 
using System;
using System.Web.Services.Description;
using System.Collections;
using System.Xml;

class MyOperationClass
{
   public static void Main()
   {
      ServiceDescription myDescription = ServiceDescription.Read("Operation_5_Input_CS.wsdl");
      // Create a 'PortType' object.
      PortType myPortType = new PortType();
      myPortType.Name = "OperationServiceHttpPost";
      Operation myOperation = CreateOperation
                         ("AddNumbers","s0:AddNumbersHttpPostIn","s0:AddNumbersHttpPostOut");
    
      myPortType.Operations.Add(myOperation);
      // Get the PortType of the Operation. 
      PortType myPort = myOperation.PortType;
      Console.WriteLine(
         "The port type of the operation is: " + myPort.Name);
      // Add the 'PortType's to 'PortTypeCollection' of 'ServiceDescription'.
      myDescription.PortTypes.Add(myPortType);
      
      // Write the 'ServiceDescription' as a WSDL file.
      myDescription.Write("Operation_5_Output_CS.wsdl");
      Console.WriteLine("WSDL file with name 'Operation_5_Output_CS.wsdl' file
 created Successfully");
   }
   public static Operation CreateOperation(string
 myOperationName,string myInputMesg,string
 myOutputMesg)
   {
      // Create an Operation.
      Operation myOperation = new Operation();
      myOperation.Name = myOperationName;
      OperationMessage myInput = (OperationMessage)new OperationInput();
      myInput.Message =  new XmlQualifiedName(myInputMesg);
      OperationMessage myOutput = (OperationMessage)new OperationOutput();
      myOutput.Message = new XmlQualifiedName(myOutputMesg);

      // Add messages to the OperationMessageCollection.
      myOperation.Messages.Add(myInput);
      myOperation.Messages.Add(myOutput);
      Console.WriteLine("Operation name is: " + myOperation.Name);    
 
      return myOperation;
   }
}
#using <System.Xml.dll>
#using <System.Web.Services.dll>
#using <System.dll>

using namespace System;
using namespace System::Web::Services::Description;
using namespace System::Collections;
using namespace System::Xml;
Operation^ CreateOperation( String^ myOperationName, String^ myInputMesg, String^
 myOutputMesg )
{
   
   // Create an Operation.
   Operation^ myOperation = gcnew Operation;
   myOperation->Name = myOperationName;
   OperationMessage^ myInput = dynamic_cast<OperationMessage^>(gcnew OperationInput);
   myInput->Message = gcnew XmlQualifiedName( myInputMesg );
   OperationMessage^ myOutput = dynamic_cast<OperationMessage^>(gcnew OperationOutput);
   myOutput->Message = gcnew XmlQualifiedName( myOutputMesg );
   
   // Add messages to the OperationMessageCollection.
   myOperation->Messages->Add( myInput );
   myOperation->Messages->Add( myOutput );
   Console::WriteLine( "Operation name is: {0}", myOperation->Name );
   
   return myOperation;
}

int main()
{
   ServiceDescription^ myDescription = ServiceDescription::Read( "Operation_5_Input_CS.wsdl"
 );
   
   // Create a 'PortType' object.
   PortType^ myPortType = gcnew PortType;
   myPortType->Name = "OperationServiceHttpPost";
   Operation^ myOperation = CreateOperation( "AddNumbers", "s0:AddNumbersHttpPostIn",
 "s0:AddNumbersHttpPostOut" );
   myPortType->Operations->Add( myOperation );
   
   // Get the PortType of the Operation. 
   PortType^ myPort = myOperation->PortType;
   Console::WriteLine( "The port type of the operation is: {0}", myPort->Name
 );
   
   // Add the 'PortType's to 'PortTypeCollection' of 'ServiceDescription'.
   myDescription->PortTypes->Add( myPortType );
   
   // Write the 'ServiceDescription' as a WSDL file.
   myDescription->Write( "Operation_5_Output_CS.wsdl" );
   Console::WriteLine( "WSDL file with name 'Operation_5_Output_CS.wsdl' file
 created Successfully" );
}

import System.*;  
import System.Web.Services.Description.*;  
import System.Collections.*;  
import System.Xml.*;  

class MyOperationClass
{
    public static void main(String[]
 args)
    {
        ServiceDescription myDescription = ServiceDescription.
            Read("Operation_5_Input_JSL.wsdl");
        // Create a 'PortType' object.
        PortType myPortType = new PortType();
        myPortType.set_Name("OperationServiceHttpPost");
        Operation myOperation = CreateOperation("AddNumbers", 
            "s0:AddNumbersHttpPostIn", "s0:AddNumbersHttpPostOut");
        myPortType.get_Operations().Add(myOperation);
        // Get the PortType of the Operation. 
        PortType myPort = myOperation.get_PortType();
        Console.WriteLine("The port type of the operation is: " 
            + myPort.get_Name());
        // Add the 'PortType's to 'PortTypeCollection' of 'ServiceDescription'.
        myDescription.get_PortTypes().Add(myPortType);
        // Write the 'ServiceDescription' as a WSDL file.
        myDescription.Write("Operation_5_Output_JSL.wsdl");
        Console.WriteLine("WSDL file with name 'Operation_5_Output_JSL.wsdl'
 "
            + "file created Successfully");
    } //main

    public static Operation CreateOperation(String
 myOperationName, 
        String myInputMesg, String myOutputMesg)
    {
        // Create an Operation.
        Operation myOperation = new Operation();
        myOperation.set_Name(myOperationName);
        OperationMessage myInput = (OperationMessage)new OperationInput();
        myInput.set_Message(new XmlQualifiedName(myInputMesg));
        OperationMessage myOutput = (OperationMessage)new OperationOutput();
        myOutput.set_Message(new XmlQualifiedName(myOutputMesg));
        // Add messages to the OperationMessageCollection.
        myOperation.get_Messages().Add(myInput);
        myOperation.get_Messages().Add(myOutput);
        Console.WriteLine("Operation name is: " + myOperation.get_Name());
        return myOperation;
    } //CreateOperation
} //MyOperationClass
継承階層継承階層
System.Object
   System.Web.Services.Description.DocumentableItem
     System.Web.Services.Description.NamedItem
      System.Web.Services.Description.Operation
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Operation メンバ
System.Web.Services.Description 名前空間
PortType

Operation コンストラクタ


Operation プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ Documentation  DocumentableItem のインスタンスのテキスト ドキュメントを取得または設定します。 ( DocumentableItem から継承されます。)
パブリック プロパティ DocumentationElement  DocumentableItem のドキュメント要素を取得または設定します。 ( DocumentableItem から継承されます。)
パブリック プロパティ ExtensibleAttributes  Web Services Interoperability (WS-I) Basic Profile 1.1 に準拠する WSDL の属性の拡張機能を表す XmlAttribute 型の配列を取得または設定します。 ( DocumentableItem から継承されます。)
パブリック プロパティ Extensions オーバーライドされます。 この Operation に関連付けられている ServiceDescriptionFormatExtensionCollection を取得します。
パブリック プロパティ Faults 現在の Operation で定義されている違反またはエラー メッセージのコレクションを取得します。
パブリック プロパティ Messages 現在の Operation で定義されている Message クラスのインスタンスのコレクションを取得します。
パブリック プロパティ Name  項目の名前を取得または設定します。 ( NamedItem から継承されます。)
パブリック プロパティ Namespaces  ServiceDescription オブジェクトが生成されるときに名前空間プレフィックスと名前空間を保持するために使用する、名前空間プレフィックスと名前空間のディクショナリを取得または設定します。 ( DocumentableItem から継承されます。)
パブリック プロパティ ParameterOrder ParameterOrderString 内に含まれる要素の配列を取得または設定します。
パブリック プロパティ ParameterOrderString 要求応答操作または請求応答操作に関する仕様を指示する、オプションのリモート プロシージャ コール (RPC: Remote Procedure Call) シグニチャを取得または設定します。
パブリック プロパティ PortType Operation がメンバとして含まれている PortType を取得します。
参照参照

関連項目

Operation クラス
System.Web.Services.Description 名前空間
PortType

Operation メソッド


Operation メンバ

XML Web サービスでサポートされるアクションの抽象定義を提供します。このクラスは継承できません。

Operation データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド Operation  
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ Documentation  DocumentableItem のインスタンスのテキスト ドキュメントを取得または設定します。(DocumentableItem から継承されます。)
パブリック プロパティ DocumentationElement  DocumentableItem のドキュメント要素を取得または設定します。(DocumentableItem から継承されます。)
パブリック プロパティ ExtensibleAttributes  Web Services Interoperability (WS-I) Basic Profile 1.1 に準拠する WSDL の属性の拡張機能を表す XmlAttribute 型の配列を取得または設定します。(DocumentableItem から継承されます。)
パブリック プロパティ Extensions オーバーライドされます。 この Operation に関連付けられている ServiceDescriptionFormatExtensionCollection を取得します。
パブリック プロパティ Faults 現在の Operation で定義されている違反またはエラー メッセージのコレクションを取得します。
パブリック プロパティ Messages 現在の Operation で定義されている Message クラスのインスタンスのコレクションを取得します。
パブリック プロパティ Name  項目の名前を取得または設定します。(NamedItem から継承されます。)
パブリック プロパティ Namespaces  ServiceDescription オブジェクトが生成されるときに名前空間プレフィックスと名前空間を保持するために使用する、名前空間プレフィックスと名前空間のディクショナリを取得または設定します。(DocumentableItem から継承されます。)
パブリック プロパティ ParameterOrder ParameterOrderString 内に含まれる要素の配列を取得または設定します。
パブリック プロパティ ParameterOrderString 要求応答操作または請求応答操作に関する仕様を指示する、オプションのリモート プロシージャ コール (RPC: Remote Procedure Call) シグニチャを取得または設定します。
パブリック プロパティ PortType Operation がメンバとして含まれている PortType を取得します。
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Operation クラス
System.Web.Services.Description 名前空間
PortType

【作戦】(さくせん)

Operation
「策戦」とも。

軍隊や武装集団が軍事的目的を達成するために考案・実行する計画的な作業。
原則として、戦闘行為もしくは暗殺のために兵器を活用する暴力的な計画のみを指す。
また、予期せず発生してしまった偶発的な戦闘(遭遇戦)も含まれない。

通常、ある作戦に参加する全ての人員は、参加する作戦について必要な情報を通知される。
作戦用の兵站を確保する際は、計画についての事前通知を行う事が必ず必要であるからだ。
1個師団以上の規模で全く想定外な作戦を実行する場合、兵站の調整にはおおむね数ヶ月を要する。
一国の全軍をもって新規の作戦を実行するには、ほぼどんな場合でも年単位の準備期間が必要になる。
軍隊が有事に迅速な作戦行動を行うには、何年も前からの想定と、研究と、準備が必須である。

膨大な金銭と資材が動くため、国家レベルでの作戦計画をスパイから隠蔽するのは不可能に近い。
とはいえ、概要はともかく詳細な作戦行動まで推定するのも極めて困難である。
このため、実際の戦争においてはしばしば「敵が想定できない奇抜な作戦を実行した陣営」が勝利する。

日本史では「源義経の鵯越え」が有名であろう。
源氏6万・平家7万の大戦にあって、源義経が率いて突撃したのはわずか70騎の騎兵のみである。
しかし、その70騎は激戦の最中に全く想定外の移動経路で浸透し、敵の城をやすやすと炎上させた。
全く想定外のため平家の諸将は互いに裏切りを疑い始め、疑心暗鬼により士気が完全に崩壊。
平家軍は総大将自ら敵前逃亡に走るほどの大敗を喫し、平家一門の滅亡に至る発端となった。


オペレーション operation

全体 ★★★☆ 60歳以上 ★★☆☆

凡例

  1. 公開市場操作
  2. 作戦行動
  1. 中央銀行の最大の政策手段は国債などのオペレーション〔公開市場操作〕による資金の供給や吸収である。
  2. 開戦となれば壮大なオペレーション〔作戦行動〕になる。
意味説明
  1. 中央銀行が証券などを売買して市場を操作する金融調節
  2. 軍事,政治,経営などにおける作戦の実施

2. 軍事行動 作戦

2. オペレーションセンター = 作戦本部 運航管理センター


オペレーション

(OPERATION から転送)

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2024/02/13 10:18 UTC 版)

オペレーション(operation)、オペ

関連項目



英和和英テキスト翻訳

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

「OPERATION」に関係したコラム

辞書ショートカット

すべての辞書の索引

「OPERATION」の関連用語

OPERATIONのお隣キーワード
検索ランキング

   

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



OPERATIONのページの著作権

   
デジタル大辞泉デジタル大辞泉
(C)Shogakukan Inc.
株式会社 小学館
IT用語辞典バイナリIT用語辞典バイナリ
Copyright © 2005-2026 Weblio 辞書 IT用語辞典バイナリさくいん。 この記事は、IT用語辞典バイナリの【演算】の記事を利用しております。
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.
航空軍事用語辞典++航空軍事用語辞典++
この記事はMASDF 航空軍事用語辞典++の記事を転載しております。
MASDFでは航空及び軍事についての様々なコンテンツをご覧頂けます。
独立行政法人国立国語研究所独立行政法人国立国語研究所
(c)2026 The National Institute for Japanese Language
ウィキペディアウィキペディア
All text is available under the terms of the GNU Free Documentation License.
この記事は、ウィキペディアのオペレーション (改訂履歴)の記事を複製、再配布したものにあたり、GNU Free Documentation Licenseというライセンスの下で提供されています。 Weblio辞書に掲載されているウィキペディアの記事も、全てGNU Free Documentation Licenseの元に提供されております。

©2026 GRAS Group, Inc.RSS