...
Info |
---|
You need Apache Ant 1.6.2 or higher to build the samples. |
To deploy the sample service on the server run the following command, from Open the sample folder in your product pack using a command line and go to the
<PRODUCT_HOME>\samples\Jaxws-Jaxrs\<JAX-RSWS-Sample-Folder>
directory. To determine <JAX-WS-Sample>, seeFolder>
directory. The folders for Jax-rs samples are listed here: JAX-WS Sample Folder.To deploy the sample, run the following command:
Code Block ant
- Start the application server and access its Management Console at https://localhost:9443/carbon.
- On the Main menu, under Services, click List.
The Deployed Services window will appear. - Click on the respective JAX-RS sample (e.g., async_jaxws).
- Execute one of the following commands to run the clientApplication Server and log in to the management console.
- You can run the sample in two ways:
- Log in to the management console. On the Main menu, under Manage/Applications, click List to open the Running Applications page. The deployed applications will be listed here.
Using the command line, go the JAX-WS sample directory and execute the following command:
OS Command On Windows run-client.bat On Linux/Solaris sh
run-client.sh
The results of the sample will show on the command line.
Info | ||
---|---|---|
For different options, run:
|
...