...
Follow the steps given below before you build and run the sample.:
- Open the maven
pom.xml
file, which is in the base directory of the sample (i.e.,<PRODUCT_HOME>\samples\Jaxws-Jaxrs\<JAX-WS-Sample-Folder>
). To determine<JAX-WS-Sample>
, see JAX-WS Sample Folder. 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
...