...
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. - Click on the respective JAX-RS sample (e.g., jaxrs_starbucks_service, jaxrs_basic or jaxrs_content_negotiation ).
Execute one of the following command to run the client.
Code Block sh run-client.sh run-client.bat
- Try the sample with different QoS options that appear on its dashboard.
For different options run:
Code Block sh run-client.sh -help
...
Sample | JAX-RS Sample Folder | ||
---|---|---|---|
JAX-RS | AdvancedBasics | jaxrs_ | starbucks_servicebasic |
JAX-RS BasicsAdvanced | jaxrs_basicstarbucks_service | ||
JAX-RS Sample on Content Negotiation | jaxrs_content_negotiation |