Javaコマンドを使ってデモを起動
Javaコマンドを使ってデモを起動
samples/ws_addressingディレクトリから次のコマンドを起動します。
UNIXの場合は以下のコマンドを実行します。
java -Djava.util.logging.config.file=$CELTIX_HOME/etc/logging.properties
-Dceltix.config.file=file:///$CELTIX_HOME/samples/ws_addressing/celtix-server.xml
demo.ws_addressing.server.Server &
java -Djava.util.logging.config.file=$CELTIX_HOME/etc/logging.properties
-Dceltix.config.file=file:///$CELTIX_HOME/samples/ws_addressing/celtix-client.xml
demo.ws_addressing.client.Client ./wsdl/hello_world_addr.wsdl
サーバがバックグラウンドで起動します。クライアントを起動した後で、サーバプロセスをkillコマンドで終了してください。
Windowsの場合は以下のコマンドを実行します。
start
java -Djava.util.logging.config.file=%CELTIX_HOME%\etc\logging.properties
-Dceltix.config.file=file:///%CELTIX_HOME%\samples\ws_addressing\celtix-server.xml
demo.ws_addressing.server.Server
java -Djava.util.logging.config.file=%CELTIX_HOME%\etc\logging.properties
-Dceltix.config.file=file:///%CELTIX_HOME%\samples\ws_addressing\celtix-client.xml
demo.ws_addressing.client.Client .\wsdl\hello_world_addr.wsdl
新しいコマンドウィンドウがサーバプロセスのために起動します。クライアントを起動した後に、コマンドウィンドウで「Ctrl-c」キーを押してサーバプロセスを終了してください。
WSDLファイルやclassファイルから生成したコードを削除して、buildディレクトリを削除するには次のコマンドを実行してください。
ant clean