The objective of this tutorial is to demonstrate you how to create and invoke a web service using Apache Axis2.
- Hosting a simple web service using Axis2
- Invoke the web service over HTTP using Axis2
To demonstrate the above objectives, I've used the simple "StockQuote" example which comes with standard Axis2 binary distribution and we will use only one operation "getStockQuote" for simplicity.
I assume that you are a Java programmer and you are conceptually aware of web services. I have tried my best to present this tutorial in a very intuitive fashion so that you can follow along visually without downloading the example code or search any missing steps. I've used only open source tools or software in this entire attempt and I will try to make it simple so that even a newbie will be able to try out all the use cases in this tutorial.
- Java SE 1.6
- Apache Axis2 1.5.1
- Apache HttpCore 4.0.1 (optional)
- Apache Ant 1.8.1
- Apache Tomcat 6 (optional)
- Eclipse IDE for Java EE Developers or any IDE based on Eclipse (optional)
The development and testing of all the artifacts are done on Windows XP SP3. If you need to try this on any other platform, please replace with the platform specific software and commands.