ネットワーク系エンジニアのTips。
便利ツールや検証中の小技を書きます。
最近はXML、SNMP、Syslog、WebService、Perlといろいろ。
×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
Axis1.4で構築しているWebサービスの環境だが、AdminClientが動作しなかった。
>java samples.useguide.example3.Client を実行すると、以下のようなエラーが出る。
AXISエンジンが呼び出そうとする対象のサービスを見つけられませんでした!targetServiceはnullです / [en]-(The AXIS engine could not find a target service to invoke! targetService is null)
いろいろなBlogに書かれている通り、wsdd実行の後に
>java samples.useguide.example3.Client
を試す時は、その後に-sコマンドか-lコマンドのどちらかでサービスのありかを指定しなければならない。
(Axis_HOMEの下のdocs/user-guide.htmlに書いてある。)
>java samples.useguide.example3.Client -l http://localhost:8080/axis/service/MyService [文字列]
>java samples.useguide.example3.Client を実行すると、以下のようなエラーが出る。
AXISエンジンが呼び出そうとする対象のサービスを見つけられませんでした!targetServiceはnullです / [en]-(The AXIS engine could not find a target service to invoke! targetService is null)
いろいろなBlogに書かれている通り、wsdd実行の後に
>java samples.useguide.example3.Client
を試す時は、その後に-sコマンドか-lコマンドのどちらかでサービスのありかを指定しなければならない。
(Axis_HOMEの下のdocs/user-guide.htmlに書いてある。)
>java samples.useguide.example3.Client -l http://localhost:8080/axis/service/MyService [文字列]
PR
この記事にコメントする