blob: b77b6f879809345eb7fba44d069f9453ec12d626 [file]
This example shows how to use Axis2/JAXWS in a servlet container. You must
have Maven 3.6.0+ and JDK 17 or later installed to build this example. To build type:
$ mvn package
Rename the resultant war as jaxws-samples.war and drop it into a Jakarta Servlet 6.0 container such as Tomcat 11.
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