アーティクル - CS24105
Windchill における Java クライアントからのリモートメソッド呼び出しの基本例
修正日: 26-Nov-2025
適用対象
- 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