This demo shows the asynchronous invocation of the "Hello world" service.
In addition to the files described in Files and Directories, this demo contains:
File or directory | Description |
---|---|
src/demo/advanced/async/hello/client/ | Client source code |
You can run the demo using "run.sh" or "run.bat" scripts. The script on invocation without arguments prints out a help message.
Compile and publish hello world service (located in demo/basic/hello), for example runtime publishing ...
Windows: run.bat make_server run.bat run_server Linux: ./run.sh make_server ./run.sh run_server (use a new terminal)
Make client classes ...
Windows: run.bat make_client Linux: ./run.sh make_client
Run the DynamicClient (it calls HelloService) ...
Windows: run.bat run_client Linux: ./run.sh run_client
If you wish to follow the progress of the invocation with SoapSpy, perform the following:
Run server_java60/bin/soapspy.bat or soapspy.sh. This will bring up the SoapSpy GUI.
Start spying by selecting Start Spying from the Spy menu or by clicking the spy icon in the main pane.
Run the client using the run spy_client command instead of run_client.