File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Creating webservice using Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Creating webservice using Axis2" Watch "Creating webservice using Axis2" New topic

Creating webservice using Axis2

p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
I am learning web services.I want to know if I am understanding the concept correctly.Please tell if this is correct.

Using Axis2 to generate a webservice and server is Apache Tomcat
To create a web service starting from WSDL:

1. First we create a WSDL document.
2. Then create a service skleleton using wsdl2java in cmd.Add our details to the skeleton
3. Then we build using ant jar.server
4. The aar file is generated
5. Deploy this aar in Axis2 --> services folder
6. services.xml and services.wsdl files are automatically generated and placed in META-INF folder
7.Then we create a client to access the webservice

R Srini
Ranch Hand

Joined: Feb 19, 2010
Posts: 215
Hi. You can simply follow this tutorial: Develop Web services with Axis2. It has all the steps. It might take a couple of hours or maybe a day, but if you follow the tutorial closely, you can learn a lot from it.
I agree. Here's the link:
subject: Creating webservice using Axis2
jQuery in Action, 3rd edition