WebSphere Application Server Version 6.1 Feature Pack for Web Services   
             オペレーティング・システム: AIX , HP-UX, i5/OS, Linux, Solaris, Windows, Windows Vista, z/OS

             目次と検索結果のパーソナライズ化
             New or updated topic for this feature pack

例: シーケンスをクローズするためのコード

クライアント・アプリケーションでは、WS-ReliableMessaging シーケンスをプログラマチックに制御することができます。 シーケンスをクローズするために、高信頼性メッセージング・クライアント・アプリケーションを コード化するときのガイダンスとして、これらのコード・フラグメントを使用してください。

始める前に

クライアント・アプリケーションによって、信頼性の高いメッセージングのシーケンスをプログラマチックに制御するためには、WSRMSequenceManager インスタンスにアクセスする必要があります。 この方法に関する情報とコーディング例については、WS-ReliableMessaging シーケンスのプログラマチックな制御 を参照してください。

シーケンスのクローズのより完全な仕様について詳しくは、WS-ReliableMessaging: サポートされる仕様と標準 を参照してください。

WS-ReliableMessaging シーケンスをクローズするには、WSRMSequenceManager で以下のメソッドを使用します。

  /**
   * Closes the Web services reliable messaging session from this application to
   * the endpoint url specified.
   * 
   * Throws a WSRMSequenceTerminatedException if the session between this application
   * and the target endpoint url is already closed
   * 
   * Throws a WSRMSequenceTerminatedException when the session between this application
   * and the target endpoint has already been terminated.
   * 
   * Throws WSRMSequenceUnknownException exception when either reliable messaging is not engaged to
   * the specified endpoint url or the sequence has previously been terminated and removed.
   * 
   * @param clientObject The JAX-WS Dispatch instance, or the Dynamic Proxy client instance.
   * @param endPointUri The target endpoint url
   * 
   * @throws WSRMNotEnabledException
   * @throws WSRMSequenceUnknownException
   * @throws WSRMSequenceClosedException
   * @throws WSRMSequenceTerminatedException
   */
  public void closeSequence(Object clientObject, QName portQName, String endPointUri)
  
  throws WSRMNotEnabledException,
         WSRMSequenceUnknownException,
         WSRMSequenceClosedException,
         WSRMSequenceTerminatedException;




関連タスク
WS-ReliableMessaging について
WS-ReliableMessaging シーケンスのプログラマチックな制御
関連資料
例: シーケンスを作成するためのコード
例: 肯定応答要求を送信するためのコード
例: シーケンスを終了するためのコード
例: シーケンスの完了を待機するためのコード
参照トピック    

ご利用条件 | フィードバック

最終更新: Jan 21, 2008 4:10:06 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/rwbs_wsrm_prog_seq_close.html