アーティクル - CS24105

Windchill における Java クライアントからのリモートメソッド呼び出しの基本例

修正日: 26-Nov-2025   


注記:ここに記載されている情報は、お客様の利便性向上のため機械翻訳ソフトを使用しています。PTCは、ここに記載されている情報の翻訳の正確性について、一切の責任を負いませんので、ご了承ください。英語の原文を参照するには、こちら。この機械翻訳に関する詳細は、こちら。
お知らせいただき、ありがとうございます。この機械翻訳をレビューします。

適用対象

  • Windchill PDMLink 11.0 to 13.1

説明

  • サーバーに接続して Windchill コードを呼び出す Java プログラムの書き方
  • RemoteMethodServer APIを使用してサーバーに接続し、Windchillコードを呼び出すコードを書く方法
  • Windchill シェルからクラスを実行するときに次の例外が発生します
 wt.util.WTRemoteException: Unable to invoke remote method; nested exception is: wt.method.AuthenticationException at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:927) at ext.CustomCode.start(CustomCode.java:155)
  • Windchill シェルからクラスを実行するときに次の例外が発生します
    Exception in thread "main" java.lang.SecurityException: ext.test.Sample does not implement wt.method.RemoteAccess.
  • wt.method.RemoteMethodServerの "invoke" メソッドの呼び出しに失敗しました。以下のエラーが発生します - API の呼び出し方法
    Exception is >>>>>wt.util.WTRemoteException: Unable to call remote method,nested exception is:
    java.lang.ClassNotFoundException:xxx.xxx
最新バージョンはこちらを参照ください CS24105