Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

From the base directory of the sample (<CARBON<PRODUCT_HOME>\samples\Jaxws-Jaxrs\<JAX-WS-Sample-Folder>), the maven pom.xml file can be used to build and run the demo. To determine <JAX-WS-Sample>, see JAX-WS Sample Folder.

...

  1. Build the demo and create a WAR file.

    Code Block
    mvn clean install ()
  2. Start the WSO2 Application Server by executing one of the following commands, where  <CARBON<PRODUCT_HOME> is the directory where you installed the product distribution:

    OSCommand
    On Windows
    <CARBON<PRODUCT_HOME>\bin\wso2server.bat --run
    On Linux/Solaris
    sh <CARBON<PRODUCT_HOME>/bin/wso2server.sh            
  3. Deploy the generated WAR file on WSO2 AS with the related logs on the console.

    Code Block
    mvn -Pdeploy
  4. Run the client

    Code Block
    mvn -Pclient

...