Introducing the Sample
This sample demonstrates how to develop a service using the code-first approach using JAX-WS APIs and jsr-181.
Building and Running the Sample
Using Maven
1. Install and run the WSO2 Application Server. Refer to the Installation Guide Installing Features for instructions.
2. From the base directory of this sample ( <CARBON_HOME>\samples\Jaxws-Jaxrs\ java_first_jaxws) , the maven pom.xml file can be used to build and run the sample using either UNIX or Windows.
...
- mvn -Pdeploy (deploys the generated WAR file on WSO2 AS with related logs on the console)
- mvn -Pclient (runs the client)
Using Apache Ant
1. Run "ant" on <CARBON_HOME>\samples\Jaxws-Jaxrs\ java_first_jaxws directory to deploy the " java_first_jaxws" service on the server.
...