...
Build the demo and create a WAR file.
Code Block mvn clean install ()
Start the WSO2 Application Server by executing one of the following commands, where
<PRODUCT_HOME>
is the directory where you installed the product distribution:
OS Command On Windows <PRODUCT_HOME>\bin\wso2server.bat --run
On Linux/Solaris sh <PRODUCT_HOME>/bin/wso2server.sh
Deploy the generated WAR file on WSO2 AS with the related logs on the console.
Code Block mvn -Pdeploy
Run the client
Code Block mvn -Pclient
...
To deploy the sample service on the server run the following command, from the
<PRODUCT_HOME>\samples\Jaxws-Jaxrs\<JAX-RS-Sample-Folder>
directory. To determine <JAX-RS-Sample>, see JAX-RS Sample Folder.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. - sh
Click on the respective JAX-RS sample (e.g., jaxrs_starbucks_service).
Execute one of the following command to run the client.Code Block batOS Command On Windows run-client.bat
On Linux/Solaris sh run-client.
sh
- Try the sample with different QoS options that appear on its dashboard.
For different options run:
Code Block sh run-client.sh -help
...