|
WebServices - Axis
WebServices - Axis - FAQ/Wiki
[翻訳者注: このページは FAQ/Wiki ページを静的に翻訳したものです。最新の内容につきましては本家 FAQ/Wiki をご覧下さい。]
まだ分類されていないもの
- [Axis ドキュメントに対してコメントする、あるいは拡張する] [編集日時 2004年3月24日am9:52 版]
Axis ドキュメントに対してコメントする、あるいは拡張する
200403231616+0100 till About: axis-1_1.zip,axis-1_1\docs\install.html
Had some probs getting the axis samples running, doing it as suggested didn't
get them running. Here's how i got them:
- following takes place on: Apache Tomcat/5.0.19 1.4.2_03-b02 Sun Microsystems Inc. Windows 2000 5.0 x86(w2ksrv_sp4)
- per default apache+tomcat install here: C:\Apache Group\Apache2\ and c:\Apache Group\Tomcat 5.0
- i put them here: E:\_\prg\Apache Group\Apache2\ and E:\_\prg\Apache Group\Tomcat 5.0
- i wanted to preserve at least the path schema of both when i had to change the the install dir. change was due to other requirements not worth to explain here. but: w/ preserving the path schema i took the crux of the default installation path with me. that is: whitespaces in the full path.
- with install.html i got as far as running axis and it's start page sufficiently except soapmonitor.
- Copying E:\_\prg\java\axis-1_1\webapps\axis\ to E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\ and restarting tomcat was all i did to get axis running
- well, now the hack begins: starting adminclient to deploy the stock sample. fighting with CLASSPATH.
- remember, i have whitespaces in the tomcat dir: e.g. E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\WEB-INF\lib\axis.jar
- now, the -cp rule on windows java is: put paths with whitespace into quotation marks. example: java -cp "c:\x y\foo.jar";"c:\y z\bar.jar"
- adminclient.class needs 8 jars as classpath. 8 jars with a path length like the upper sample axis.jar in my case. this seems to be a problem.
- to get rid of the presumably overly-lenghty classpath string i did following:
- Supplementing dir E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\WEB-INF\classes\samples\stock\ with the contents of E:\_\prg\java\axis-1_1\samples\stock\ in order to run adminclient from there w/o the need of referencing the needed classes to that long path. (from here i can use relative paths)
- which is done like that:
- E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\WEB-INF\classes\samples\stock>java -cp %AXCP% org.apache.axis.client.AdminClient -lhttp://localhost:48080/axis/services/AdminService deploy.wsdd
- whereas:
- %AX%=..\..\..\lib # %AXCP%=%AX%axis.jar;%AX%commons-discovery.jar;%AX%commons-logging.jar;%AX%jaxrpc.jar;%AX%saaj.jar;%AX%log4j-1.2.8.jar;%AX%xml-apis.jar;%AX%xercesImpl.jar
- Note: my tomcatport is set to 48080, be aware
- hope this is clear enough to give you the essential workaround idea
- ask here, if something isn't obvious
- any pointers how to solve that general classpath problem really much appreciated ;-)
- [新しいユーザのためのガイド] [編集日時 2004年5月24日pm7:16 版]
ここは Axis の新しいユーザのためのページです。このページの目的は、java チュートリアルにあるのと同じように、初心者が Axis を使用したWebサービスについて理解する、その手助けをする道筋を作ることです。道筋とは Axis を用いた開発の特定の経路を探索するための経路です。そのねらいは、新しいユーザを困惑させるトピックに関して、明快な説明を提供することです。すでに存在しているドキュメントにぜひ気軽にリンクしてください。ですが、なるべく新しいユーザに対していくつかの付加的な案内をするようにしてください。
どうか貢献してください -
[/NewbieTrails/CreateWebServices A First Trail.]
リクエストがあった道筋
仕事に取り組む際のしきたり
- もし道筋のリクエストがあれば、単にそれを加えてください。
- もし何かにコメントがあるのであれば、コメントブロックを作成して下さい。
これが、ドキュメントにコメントをすることについてのコメントです。
- もし自分自身を知られたいのであれば、自分自身のために著者のページを作り、ドキュメントに (したければ) サインをしましょう。 -- AndrewPremdas
- 気軽に、新しいドキュメントを寄稿し、自分のドキュメントを編集し、ドキュメントにコメントしてください。他の人のドキュメントを編集する際は注意してください。すなわち、もし編集が広範囲にわたるものであれば、あなたの改善したバージョンと共にコメントを投稿してください。
- もし大きな変更を行うのであれば電子メールで知らせてください (編集ボックスの一番下にあります)
- ほとんどの変更に対して概要を追加してください
ありがとう - AndrewPremdas
|