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 で以下のメソッドを使用します。

  /**
   * Terminates Web services reliable messaging session from this application to
   * the endpoint url specified.
   *
   * 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 WSRMSequenceTerminatedException
   * @throws WSRMSequenceUnknownException
   */
  public void terminateSequence(Object clientObject, QName portQName, String endPointUri) throws WSRMNotEnabledException;




関連タスク
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_term.html