This example shows how to use Axis2/JAXWS in a servlet container. You must have Maven 2.x installed to build this example. To build type: $ mvn install war:war Rename the resultant war as jaxws-samples.war and drop it into any servlet engine. The WSDL file for the service should be viewable at: http://yourhost:port/jaxws-samples/services/EchoService12.EchoService12Port http://yourhost:port/jaxws-samples/services/EchoService.EchoServicePort http://yourhost:port/jaxws-samples/services/MtomSampleService12.MtomSamplePort http://yourhost:port/jaxws-samples/services/MtomSampleService.MtomSamplePort http://yourhost:port/jaxws-samples/services/PingService12.PingService12Port http://yourhost:port/jaxws-samples/services/PingService.PingServicePort Here's the main page with some description of the tests: http://yourhost:port/jaxws-samples/ You can use the sample jsp pages to drive/test the web service" http://yourhost:port/jaxws-samples/demoMTOM http://yourhost:port/jaxws-samples/demoEchoPing