WebServices - Axis

WebServices - Axis - FAQ/Wiki

[翻訳者注: このページは FAQ/Wiki ページを静的に翻訳したものです。最新の内容につきましては本家 FAQ/Wiki をご覧下さい。]

まだ分類されていないもの

  1. [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:

    1. following takes place on: Apache Tomcat/5.0.19 1.4.2_03-b02 Sun Microsystems Inc. Windows 2000 5.0 x86(w2ksrv_sp4)
    2. per default apache+tomcat install here: C:\Apache Group\Apache2\ and c:\Apache Group\Tomcat 5.0
    3. i put them here: E:\_\prg\Apache Group\Apache2\ and E:\_\prg\Apache Group\Tomcat 5.0
    4. 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.
    5. with install.html i got as far as running axis and it's start page sufficiently except soapmonitor.
    6. 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
    7. well, now the hack begins: starting adminclient to deploy the stock sample. fighting with CLASSPATH.
    8. remember, i have whitespaces in the tomcat dir: e.g. E:\_\prg\Apache Group\Tomcat 5.0\webapps\axis\WEB-INF\lib\axis.jar
    9. 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"
    10. 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.
    11. to get rid of the presumably overly-lenghty classpath string i did following:
    12. 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)
    13. which is done like that:
    14. 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
    15. whereas:
    16. %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
    17. Note: my tomcatport is set to 48080, be aware
    18. hope this is clear enough to give you the essential workaround idea
    19. ask here, if something isn't obvious
    20. any pointers how to solve that general classpath problem really much appreciated ;-)


  2. [新しいユーザのためのガイド] [編集日時 2004年5月24日pm7:16 版]

    ここは Axis の新しいユーザのためのページです。このページの目的は、java チュートリアルにあるのと同じように、初心者が Axis を使用したWebサービスについて理解する、その手助けをする道筋を作ることです。道筋とは Axis を用いた開発の特定の経路を探索するための経路です。そのねらいは、新しいユーザを困惑させるトピックに関して、明快な説明を提供することです。すでに存在しているドキュメントにぜひ気軽にリンクしてください。ですが、なるべく新しいユーザに対していくつかの付加的な案内をするようにしてください。

    どうか貢献してください -

    [/NewbieTrails/CreateWebServices A First Trail.]

    リクエストがあった道筋

    仕事に取り組む際のしきたり

    • もし道筋のリクエストがあれば、単にそれを加えてください。
    • もし何かにコメントがあるのであれば、コメントブロックを作成して下さい。

    これが、ドキュメントにコメントをすることについてのコメントです。

    • もし自分自身を知られたいのであれば、自分自身のために著者のページを作り、ドキュメントに (したければ) サインをしましょう。 -- AndrewPremdas
    • 気軽に、新しいドキュメントを寄稿し、自分のドキュメントを編集し、ドキュメントにコメントしてください。他の人のドキュメントを編集する際は注意してください。すなわち、もし編集が広範囲にわたるものであれば、あなたの改善したバージョンと共にコメントを投稿してください。
    • もし大きな変更を行うのであれば電子メールで知らせてください (編集ボックスの一番下にあります)
    • ほとんどの変更に対して概要を追加してください

    ありがとう - AndrewPremdas