Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the sample folder in your product pack using a command line and go to the <PRODUCT_HOME>\samples\Jaxws-Jaxrs\<JAX-WS-Sample-Folder> directory. The folders for Jax-ws samples are listed here: JAX-WS Sample Folder.
  2. Build the demo and create a WAR file using the following command. 

    Code Block
    mvn clean install
  3. Deploy the generated WAR file in WSO2 AS with the related logs on the console using the following command:

    Code Block
    mvn -Pdeploy

    This command will copy the WAR file to the <AS_HOME>/repository/deployment/server/webapps directory.

  4. Start the WSO2 Application Server by executing one of the following commands, where  <PRODUCT_HOME> is the directory where you installed the product distribution:

    OSCommand
    On Windows
    <PRODUCT_HOME>\bin\wso2server.bat --run
    On Linux/Solaris
    sh <PRODUCT_HOME>/bin/wso2server.sh
  5. Log in to the management console and click List on the Main menu, under Manage/Applications. This opens the Running Applications page. The deployed applications will be listed here.

  6. You can open the required web application by clicking the Find Services action.

...